We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67db2e5 commit 55bc9bfCopy full SHA for 55bc9bf
frontend/src/features/conversation/message/MessageList.vue
@@ -130,7 +130,7 @@ onMounted(() => {
130
const handleNewMessage = () => {
131
emitter.on(EMITTER_EVENTS.NEW_MESSAGE, (data) => {
132
if (data.conversation_uuid === conversationStore.current.uuid) {
133
- if (data.message.sender_id === userStore.userID) {
+ if (data.message?.sender_id === userStore.userID) {
134
scrollToBottom()
135
} else if (!isAtBottom.value) {
136
unReadMessages.value++
0 commit comments