Use "stream" as our type for updates to Stream.name.

(imported from commit 2eedbff5fac77b9e654ba88900167048573e4056)
This commit is contained in:
Steve Howell
2014-01-22 17:25:03 -05:00
parent 09dbaabcb6
commit 2283aa52cb
3 changed files with 43 additions and 6 deletions

View File

@@ -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) {