mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
pm list: Avoid duplicate resize calls.
We are basically just inlining remove_expanded_private_messages, skipping the resize call that happens at the end of rebuild_recent. This change makes sense even if we keep the current UI for Private Messages.
This commit is contained in:
@@ -145,7 +145,9 @@ exports._build_private_messages_list = function (active_conversation, max_privat
|
||||
};
|
||||
|
||||
exports.rebuild_recent = function (active_conversation) {
|
||||
remove_expanded_private_messages();
|
||||
stream_popover.hide_topic_popover();
|
||||
$("#private-container").remove();
|
||||
|
||||
if (private_messages_open) {
|
||||
var max_private_messages = 5;
|
||||
var private_li = get_filter_li();
|
||||
|
||||
Reference in New Issue
Block a user