Skip to content

Commit

Permalink
fix: leave call from system message 'call_ended_everyone'
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Dec 10, 2024
1 parent e9e20f9 commit c4a63ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store/messagesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,10 @@ const actions = {
&& conversation.type !== CONVERSATION.TYPE.ONE_TO_ONE
&& !(message.actorId === context.getters.getActorId()
&& message.actorType === context.getters.getActorType())) {
context.dispatch('leaveCall', {
token,
participantIdentifier: context.getters.getParticipantIdentifier(),
})
const callViewStore = useCallViewStore()
callViewStore.setCallHasJustEnded(message.timestamp)
}
Expand Down

0 comments on commit c4a63ff

Please sign in to comment.