ios: only show notification on received messages, do not remove non-current group members from contacts that can be added to the group (#846)

This commit is contained in:
Evgeny Poberezkin
2022-07-28 10:11:16 +01:00
committed by GitHub
parent bf4072b365
commit 4a931bc145
3 changed files with 31 additions and 17 deletions
+1 -1
View File
@@ -765,7 +765,7 @@ func processReceivedMsg(_ res: ChatResponse) async {
await receiveFile(fileId: file.fileId)
}
}
if !cItem.isCall() {
if !cItem.chatDir.sent && !cItem.isCall() {
NtfManager.shared.notifyMessageReceived(cInfo, cItem)
}
case let .chatItemStatusUpdated(aChatItem):