Allow V1 groups to be deleted by clearing app data.
This commit is contained in:
parent
9a1f8af703
commit
aec4944c56
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ class DeleteAccountRepository {
|
|||
|
||||
while (groupRecord != null) {
|
||||
if (groupRecord.getId().isPush() && groupRecord.isActive()) {
|
||||
GroupManager.leaveGroup(ApplicationDependencies.getApplication(), groupRecord.getId().requirePush());
|
||||
if (!groupRecord.isV1Group()) {
|
||||
GroupManager.leaveGroup(ApplicationDependencies.getApplication(), groupRecord.getId().requirePush());
|
||||
}
|
||||
onDeleteAccountEvent.accept(new DeleteAccountEvent.LeaveGroupsProgress(groups.getCount(), ++groupsLeft));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue