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 084ea4e commit 667a6d7
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.deleteSubConversationPublicGroupState (tUnqualified lcnvId) scnvId
Eff.setSubConversationEpoch (tUnqualified lcnvId) scnvId (Epoch 0)
Eff.removeAllMLSClients gid
Eff.deleteGroupIdForSubConversation gid

Expand Down

0 comments on commit 667a6d7

Please sign in to comment.