diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:04:01 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:04:01 +0300 |
| commit | 3dbc1bedbf7ea7f168548d0766d095dba02a741a (patch) | |
| tree | b7dd60bda705acd87adbff194f0263e0f49973c2 /src/services/chat_utils/chat_utils.js | |
| parent | 947d7cd6f285c7c683b92f79d9d2c08dd2131f5d (diff) | |
| parent | b725df6352c27421f0549b6e4c2ceeb0d240919f (diff) | |
Merge branch 'develop' into feature/import_export_mutes
Diffstat (limited to 'src/services/chat_utils/chat_utils.js')
| -rw-r--r-- | src/services/chat_utils/chat_utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/chat_utils/chat_utils.js b/src/services/chat_utils/chat_utils.js index ab898ced..583438f7 100644 --- a/src/services/chat_utils/chat_utils.js +++ b/src/services/chat_utils/chat_utils.js @@ -3,6 +3,7 @@ import { showDesktopNotification } from '../desktop_notification_utils/desktop_n export const maybeShowChatNotification = (store, chat) => { if (!chat.lastMessage) return if (store.rootState.chats.currentChatId === chat.id && !document.hidden) return + if (store.rootState.users.currentUser.id === chat.lastMessage.account.id) return const opts = { tag: chat.lastMessage.id, |
