notifications: Restore a comment explaining `received_messages`.

A comment like this was removed in
  fa44d2ea6 "settings: Remove autoscroll_forever setting."
The comment went on to say something about autoscroll, but this
part still seems relevant.  While here, adjust grammar and caps.
This commit is contained in:
Greg Price 2018-01-30 16:17:16 -08:00 committed by showell
parent 162f34f0d0
commit 9798bb51c8
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ exports.received_messages = function (messages) {
return; return;
} }
if (!unread.message_unread(message)) { if (!unread.message_unread(message)) {
// The message is already read; Zulip is currently in focus.
return; return;
} }