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:
Steve Howell
2020-05-26 11:58:18 +00:00
committed by Tim Abbott
parent 9f5725d265
commit 43e5b2d28b
16 changed files with 26 additions and 356 deletions

View File

@@ -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);