diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:03:11 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-18 22:03:11 +0300 |
| commit | b725df6352c27421f0549b6e4c2ceeb0d240919f (patch) | |
| tree | a0a733302b9ab28e50419bb13937dc261d09646b /src/services/chat_utils/chat_utils.js | |
| parent | fa2b680855c790ba8ed8d7cc0dbf2a3a2e1dbaf6 (diff) | |
| parent | 0fee9a8fe71faed789589aae6ff1bf3434e01e93 (diff) | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
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, |
