Skip to content

Commit

Permalink
Merge pull request #11240 from nextcloud/backport/11219/stable28
Browse files Browse the repository at this point in the history
[stable28] Fix(ParticipantsStore): Purge the store so it deletes the removed conversation
  • Loading branch information
Antreesy authored Dec 15, 2023
2 parents 170c5f4 + 76b4ba7 commit 0bd6b12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/conversationsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},

/**
Expand Down

0 comments on commit 0bd6b12

Please sign in to comment.