From 76b4ba7bcf2c8c65401bbd1dfe9547352d486805 Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Thu, 14 Dec 2023 08:43:35 +0100 Subject: [PATCH] Fix(conversationStore): purge participants and cached conversations. Signed-off-by: DorraJaouad --- src/store/conversationsStore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/conversationsStore.js b/src/store/conversationsStore.js index a66c7c20e3d..9ba223cb2d2 100644 --- a/src/store/conversationsStore.js +++ b/src/store/conversationsStore.js @@ -323,6 +323,8 @@ const actions = { // FIXME: rename to deleteConversationsFromStore or a better name context.dispatch('deleteMessages', token) context.commit('deleteConversation', token) + context.dispatch('purgeParticipantsStore', token) + context.dispatch('cacheConversations') }, /**