refactor: Remove dead code in PM list.

The function that was called here has no side
effects.  If you don't use its value, it's just
wasted computation.  The real action happens
in the subsequent calls to `rebuild_recent`.
This commit is contained in:
Steve Howell 2019-02-15 16:12:37 +00:00 committed by Tim Abbott
parent ea8a087fd7
commit 03484e274a
1 changed files with 0 additions and 2 deletions

View File

@ -152,8 +152,6 @@ exports.rebuild_recent = function (active_conversation) {
};
exports.update_private_messages = function () {
exports._build_private_messages_list();
if (!narrow_state.active()) {
return;
}