Update unread flags between multiple browser windows.

(imported from commit 1c5e2bc0233c28c72ce4c8253fa0717ae4793f84)
This commit is contained in:
Tim Abbott
2014-01-23 12:23:31 -05:00
parent 8fa49388c0
commit 09dbaabcb6
2 changed files with 11 additions and 2 deletions

View File

@@ -457,7 +457,8 @@ MessageList.prototype = {
show_message_as_read: function (message, options) {
var row = this.get_row(message.id);
if (options.from === 'pointer' && feature_flags.mark_read_at_bottom) {
if ((options.from === 'pointer' && feature_flags.mark_read_at_bottom) ||
options.from === "server") {
row.find('.unread_marker').addClass('fast_fade');
} else {
row.find('.unread_marker').addClass('slow_fade');