mobile: don't show notifications for certain chat items (#1453)

This commit is contained in:
JRoberts
2022-11-28 19:11:26 +04:00
committed by GitHub
parent 56a3f98dc0
commit e5f07993a7
5 changed files with 70 additions and 42 deletions
+1 -1
View File
@@ -988,7 +988,7 @@ func processReceivedMsg(_ res: ChatResponse) async {
await receiveFile(fileId: file.fileId)
}
}
if !cItem.chatDir.sent && !cItem.isCall && !cItem.isMutedMemberEvent {
if cItem.showNotification {
NtfManager.shared.notifyMessageReceived(cInfo, cItem)
}
case let .chatItemStatusUpdated(aChatItem):