mobile: disable notifications on group events, make member role default (#1158)

* ios: disable notifications on group events, make member role default

* same for android

* change mute criteria

* update
This commit is contained in:
Evgeny Poberezkin
2022-10-01 14:46:48 +01:00
committed by GitHub
parent a3bd51a5fa
commit 06e46b0bea
6 changed files with 37 additions and 4 deletions
+1 -1
View File
@@ -876,7 +876,7 @@ func processReceivedMsg(_ res: ChatResponse) async {
await receiveFile(fileId: file.fileId)
}
}
if !cItem.chatDir.sent && !cItem.isCall() {
if !cItem.chatDir.sent && !cItem.isCall() && !cItem.isMutedMemberEvent {
NtfManager.shared.notifyMessageReceived(cInfo, cItem)
}
case let .chatItemStatusUpdated(aChatItem):