stream_data: Remove stream_name param from add_sub().

We just get the stream_name from the sub struct now.

This mostly affects node tests.

The only place in real code where we called add_sub()
was when we initialized data from the server.
This commit is contained in:
Steve Howell
2020-02-09 21:02:55 +00:00
committed by Tim Abbott
parent 3af8dc6c7d
commit fa1059aa2e
25 changed files with 94 additions and 93 deletions

View File

@@ -31,7 +31,7 @@ const social = {
subscribed: true,
is_muted: false,
};
stream_data.add_sub('social', social);
stream_data.add_sub(social);
const zero_counts = {
private_message_count: 0,