mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
right sidebar: Remove "GROUP PMs" section.
We remove the "GROUP PMs" section that used
to be in the lower right sidebar.
Most of this is straightforward code removal.
A couple quick notes:
- The message fetching code now just
calls `huddle_data.process_loaded_messages`,
which we still need for search suggestions.
We removed `activity.process_loaded_messages`.
- The `huddle_data.process_loaded_messages`
function no longer needs to return `need_resize`.
- In `resize.js` we now just calculate
`res.buddy_list_wrapper_max_height` directly
from `usable_height`.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const huddle_data = require("./huddle_data");
|
||||
|
||||
const consts = {
|
||||
backfill_idle_time: 10 * 1000,
|
||||
error_retry_time: 5000,
|
||||
@@ -46,7 +48,7 @@ function process_result(data, opts) {
|
||||
message_util.add_old_messages(messages, opts.msg_list);
|
||||
}
|
||||
|
||||
activity.process_loaded_messages(messages);
|
||||
huddle_data.process_loaded_messages(messages);
|
||||
stream_list.update_streams_sidebar();
|
||||
pm_list.update_private_messages();
|
||||
recent_topics.process_messages(messages);
|
||||
|
||||
Reference in New Issue
Block a user