fix iOS build

This commit is contained in:
Alain Brenzikofer authored and dynamis-crafter committed 2026-08-17 17:15:51 +02:00
1 parent 31cd2619da
commit a62d85514c
12 files changed
+150 -27

No files matched your search

+1 -1
View File
@@ -2660,7 +2660,7 @@ func processReceivedMsg(_ res: ChatEvent) async {
}
// A name arriving is the one incoming event with no other
// signal, so the settings badge is bumped on arrival.
if case .sndReceived = cItem.meta.itemStatus {} else if case .rcvNew = cItem.meta.itemStatus, case .assetTransfer = cItem.content.msgContent {
if !cItem.chatDir.sent, case .assetTransfer = cItem.content.msgContent {
m.namesWaiting += 1
}
if !active(user) && cItem.isRcvNew && cInfo.ntfsEnabled(chatItem: cItem) {