Merge pull request #723 from Aga-C/fix-group-count

Fixed group count while changing name (#589)
This commit is contained in:
Tibor Kaputa
2021-11-18 09:14:02 +01:00
committed by GitHub

View File

@ -36,6 +36,7 @@ class RenameGroupDialog(val activity: BaseSimpleActivity, val group: Group, val
} }
group.title = newTitle group.title = newTitle
group.contactsCount = 0
ensureBackgroundThread { ensureBackgroundThread {
if (group.isPrivateSecretGroup()) { if (group.isPrivateSecretGroup()) {
activity.groupsDB.insertOrUpdate(group) activity.groupsDB.insertOrUpdate(group)