From c4a63ff18ae6aa83acb0f54e14c7d91832fabee5 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 10 Dec 2024 17:50:22 +0100 Subject: [PATCH] fix: leave call from system message 'call_ended_everyone' Signed-off-by: Maksim Sukharev --- src/store/messagesStore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/store/messagesStore.js b/src/store/messagesStore.js index b4b34c8c344..1487a9154ac 100644 --- a/src/store/messagesStore.js +++ b/src/store/messagesStore.js @@ -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) }