mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
subscription: Clean functions peer_subscribe and peer_unsubscribe.
This commit is contained in:
@@ -632,12 +632,12 @@ $(function () {
|
||||
|
||||
$(document).on('peer_subscribe.zulip', function (e, data) {
|
||||
var sub = stream_data.get_sub(data.stream_name);
|
||||
exports.rerender_subscribers_list(sub);
|
||||
subs.rerender_subscriptions_settings(sub);
|
||||
});
|
||||
|
||||
$(document).on('peer_unsubscribe.zulip', function (e, data) {
|
||||
var sub = stream_data.get_sub(data.stream_name);
|
||||
exports.rerender_subscribers_list(sub);
|
||||
subs.rerender_subscriptions_settings(sub);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user