pm_list: Remove unnecessary topic popover calls.

This was incorrectly copied from the topic_list logic in the original
implementation of a left sidebar private messages widget in
fd66d9f703.
This commit is contained in:
Tim Abbott 2022-08-15 20:31:12 -07:00
parent 9c2820b59e
commit 03d385c1da
1 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import * as narrow_state from "./narrow_state";
import * as people from "./people";
import * as pm_list_data from "./pm_list_data";
import * as pm_list_dom from "./pm_list_dom";
import * as stream_popover from "./stream_popover";
import * as ui from "./ui";
import * as ui_util from "./ui_util";
import * as vdom from "./vdom";
@ -24,7 +23,6 @@ function set_count(count) {
}
function remove_expanded_private_messages() {
stream_popover.hide_topic_popover();
ui.get_content_element($("#private-container")).empty();
}
@ -64,7 +62,6 @@ export function update_private_messages() {
export function expand() {
private_messages_open = true;
stream_popover.hide_topic_popover();
update_private_messages();
if (pm_list_data.is_all_privates()) {
$(".top_left_private_messages").addClass("active-filter");