Clear thread before accepting/rejecting group invitation (#849)

pull/1710/head
SessionHero01 4 months ago committed by GitHub
parent a091a33e38
commit 510f18687d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -599,6 +599,8 @@ class GroupManagerV2Impl @Inject constructor(
// Whether approved or not, delete the invite
lokiDatabase.deleteGroupInviteReferrer(threadId)
storage.clearMessages(threadId)
if (approved) {
approveGroupInvite(group, groupInviteMessageHash)
} else {

Loading…
Cancel
Save