mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
message view: Move live update logic of stream name to message_store.
This commit is contained in:
@@ -212,6 +212,14 @@ exports.update_property = function (property, value, info) {
|
||||
}
|
||||
});
|
||||
break;
|
||||
case "stream_name":
|
||||
exports.each((msg) => {
|
||||
if (msg.stream_id && msg.stream_id === info.stream_id) {
|
||||
msg.display_recipient = value;
|
||||
msg.stream = value;
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user