mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
minor: Remove empty pm_list.initialize().
The commit 3cfc3ca24b
made this function do nothing, but I guess that
we thought we might resurrect the click handler
in the short term. We never did.
This commit is contained in:
committed by
Steve Howell
parent
e781136acd
commit
67a5fe95dc
@@ -100,7 +100,6 @@ run_test("build_private_messages_list", (override) => {
|
|||||||
expected_data[0].is_zero = true;
|
expected_data[0].is_zero = true;
|
||||||
assert.deepEqual(pm_data, expected_data);
|
assert.deepEqual(pm_data, expected_data);
|
||||||
|
|
||||||
pm_list.initialize();
|
|
||||||
pm_list._build_private_messages_list();
|
pm_list._build_private_messages_list();
|
||||||
assert.deepEqual(pm_data, expected_data);
|
assert.deepEqual(pm_data, expected_data);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -167,5 +167,3 @@ export function update_dom_with_unread_counts(counts) {
|
|||||||
counts.private_message_count,
|
counts.private_message_count,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function initialize() {}
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ import * as overlays from "./overlays";
|
|||||||
import * as panels from "./panels";
|
import * as panels from "./panels";
|
||||||
import * as people from "./people";
|
import * as people from "./people";
|
||||||
import * as pm_conversations from "./pm_conversations";
|
import * as pm_conversations from "./pm_conversations";
|
||||||
import * as pm_list from "./pm_list";
|
|
||||||
import * as presence from "./presence";
|
import * as presence from "./presence";
|
||||||
import * as recent_topics from "./recent_topics";
|
import * as recent_topics from "./recent_topics";
|
||||||
import * as reload from "./reload";
|
import * as reload from "./reload";
|
||||||
@@ -526,7 +525,6 @@ export function initialize_everything() {
|
|||||||
unread_ui.initialize();
|
unread_ui.initialize();
|
||||||
activity.initialize();
|
activity.initialize();
|
||||||
emoji_picker.initialize();
|
emoji_picker.initialize();
|
||||||
pm_list.initialize();
|
|
||||||
topic_list.initialize();
|
topic_list.initialize();
|
||||||
topic_zoom.initialize();
|
topic_zoom.initialize();
|
||||||
drafts.initialize();
|
drafts.initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user