messages: Show banner when message history is limited.

This communicates to users clearly about the situation when the
history_limited flag is set by the backend (because message history
was cutoff).
This commit is contained in:
Vishnu Ks
2018-10-01 23:57:22 +05:30
committed by Tim Abbott
parent 1054d63820
commit e5b3d39ce9
8 changed files with 61 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ function get_messages_success(data, opts) {
history_limited: data.history_limited,
});
}
notifications.hide_or_show_history_limit_message(opts.msg_list);
}
if (opts.num_after > 0) {