mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
ui_init: Pass params to pm_conversations.recent.
This is follow up to da79fd206a
I accidentally skipped over pm_conversations. Same
ideas as the bigger previous commit--we pass in params
to the initialize function and do the delete cleanup
within ui_init.
This commit is contained in:
@@ -394,6 +394,10 @@ exports.initialize_everything = function () {
|
||||
'cross_realm_bots'
|
||||
);
|
||||
|
||||
const pm_conversations_params = pop_fields(
|
||||
'recent_private_conversations'
|
||||
);
|
||||
|
||||
const presence_params = pop_fields(
|
||||
'presences',
|
||||
'initial_servertime'
|
||||
@@ -422,7 +426,7 @@ exports.initialize_everything = function () {
|
||||
stream_color.initialize();
|
||||
stream_edit.initialize();
|
||||
stream_data.initialize(stream_data_params);
|
||||
pm_conversations.recent.initialize();
|
||||
pm_conversations.recent.initialize(pm_conversations_params);
|
||||
muting.initialize();
|
||||
subs.initialize();
|
||||
stream_list.initialize();
|
||||
|
||||
Reference in New Issue
Block a user