Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

minor: Add get_user_set call that I missed earlier.

Steve Howelle44e48ef208a
diff --git a/static/js/peer_data.js b/static/js/peer_data.js
index 88677f110c8..4aff1ab5655 100644
--- a/static/js/peer_data.js
+++ b/static/js/peer_data.js
@@ -64,7 +64,7 @@ export function potential_subscribers(stream_id) {
may be moot now for other reasons.)
*/
- const subscribers = stream_subscribers.get(stream_id);
+ const subscribers = get_user_set(stream_id);
function is_potential_subscriber(person) {
// Use verbose style to force better test
@@ -96,7 +96,6 @@ export function get_subscribers(stream_id) {
export function set_subscribers(stream_id, user_ids) {
const subscribers = new LazySet(user_ids || []);
stream_subscribers.set(stream_id, subscribers);
- return subscribers;
}
export function add_subscriber(stream_id, user_id) {