Skip to content

Commit

Permalink
fixup! do not disable for actor
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Sep 11, 2024
1 parent b49e35e commit a6a3de1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/messagesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,9 @@ const actions = {
lastActivity: message.timestamp,
})
}
if (message.systemMessage === 'call_ended_everyone') {
if (message.systemMessage === 'call_ended_everyone'
&& !(message.actorId === context.getters.getActorId()
&& message.actorType === context.getters.getActorType())) {
context.dispatch('setCallHasJustEnded', message.timestamp)
}
}
Expand Down

0 comments on commit a6a3de1

Please sign in to comment.