mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
Only show unread notifications in the title bar if a message is shown in the home view.
(imported from commit 795a6cb55d480c57e84ea5e17ef3afdc5d62d68b)
This commit is contained in:
@@ -199,7 +199,7 @@ exports.received_messages = function (messages) {
|
||||
}
|
||||
|
||||
$.each(messages, function (index, message) {
|
||||
if (message.sender_email !== email) {
|
||||
if (message.sender_email !== email && narrow.in_home(message)) {
|
||||
new_message_count++;
|
||||
title_needs_update = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user