Only attempt to reorder a message if we had it in the message list originally

(imported from commit 0b2802c1f1b6b17cd9f52dd9cecdf84f6f1cf5b0)
This commit is contained in:
Leo Franchi
2014-01-24 11:15:51 -05:00
parent b1ac754448
commit f528ac659d

View File

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