core: allow creating groups with the same display name; mobile: update group status when group deleted by another member or user removed (#859)

This commit is contained in:
Evgeny Poberezkin
2022-07-31 18:54:49 +01:00
committed by GitHub
parent 30c345933b
commit 999923bcf9
7 changed files with 38 additions and 17 deletions

View File

@@ -818,6 +818,10 @@ func processReceivedMsg(_ res: ChatResponse) async {
// NtfManager.shared.notifyContactRequest(contactRequest) // TODO notifyGroupInvitation?
case let .userJoinedGroup(groupInfo):
m.updateGroup(groupInfo)
case let .groupDeleted(groupInfo, _):
m.updateGroup(groupInfo)
case let .deletedMemberUser(groupInfo, _):
m.updateGroup(groupInfo)
case let .rcvFileStart(aChatItem):
chatItemSimpleUpdate(aChatItem)
case let .rcvFileComplete(aChatItem):