mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Only attempt to reorder a message if we had it in the message list originally
(imported from commit 0b2802c1f1b6b17cd9f52dd9cecdf84f6f1cf5b0)
This commit is contained in:
@@ -537,6 +537,8 @@ MessageList.prototype = {
|
||||
var value = this._hash[old_id];
|
||||
delete this._hash[old_id];
|
||||
this._hash[new_id] = value;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this._selected_id === old_id) {
|
||||
|
||||
Reference in New Issue
Block a user