aboutsummaryrefslogtreecommitdiff
path: root/src/services/chat_utils/chat_utils.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-11-01 17:50:43 +0000
committerShpuld Shpludson <shp@cock.li>2020-11-01 17:50:43 +0000
commit148789767a28a988751af9635cd53fe6d85a4c75 (patch)
tree899b04a091d20ee5f1209fd141ee8ecadf591a5d /src/services/chat_utils/chat_utils.js
parent40ce3a9bd8711029453f3753637ff7a53d7ee23f (diff)
parent3ead79ddb42967e2e5e7ccc6d832543b066c7c9b (diff)
Merge branch 'fix/chat-misc-fixes' into 'develop'
Misc Chat fixes See merge request pleroma/pleroma-fe!1265
Diffstat (limited to 'src/services/chat_utils/chat_utils.js')
-rw-r--r--src/services/chat_utils/chat_utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/chat_utils/chat_utils.js b/src/services/chat_utils/chat_utils.js
index 583438f7..86fe1af9 100644
--- a/src/services/chat_utils/chat_utils.js
+++ b/src/services/chat_utils/chat_utils.js
@@ -3,7 +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
+ if (store.rootState.users.currentUser.id === chat.lastMessage.account_id) return
const opts = {
tag: chat.lastMessage.id,