Skip to content

Commit

Permalink
Reset the epoch for a subconversation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdimjasevic committed Dec 28, 2022
1 parent 03c58d8 commit f773212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/galley/src/Galley/API/MLS/SubConversation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ deleteLocalSubConversation lusr lcnvId scnvId dsc = do
unless (dscEpoch dsc == epoch) $ throwS @'MLSStaleMessage

Eff.deletePublicGroupState (tUnqualified lcnvId) scnvId
Eff.setSubConversationEpoch (tUnqualified lcnvId) scnvId (Epoch 0)
Eff.removeAllMLSClients gid
Eff.deleteGroupIdForSubConversation gid

Expand Down

0 comments on commit f773212

Please sign in to comment.