mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
Use "stream" as our type for updates to Stream.name.
(imported from commit 2eedbff5fac77b9e654ba88900167048573e4056)
This commit is contained in:
@@ -884,6 +884,12 @@ function get_updates_success(data) {
|
||||
update_person(event.person);
|
||||
}
|
||||
break;
|
||||
case 'stream':
|
||||
if (event.op === 'update') {
|
||||
// Legacy: Stream properties are still managed by subs.js on the client side.
|
||||
subs.update_subscription_properties(event.name, event.property, event.value);
|
||||
}
|
||||
break;
|
||||
case 'subscriptions':
|
||||
if (event.op === 'add') {
|
||||
_.each(event.subscriptions, function (subscription) {
|
||||
|
||||
Reference in New Issue
Block a user