|
|
@ -454,10 +454,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
|
|
|
|
|
|
|
|
|
|
return try Interaction
|
|
|
|
return try Interaction
|
|
|
|
.filter(Interaction.Columns.wasRead == false)
|
|
|
|
.filter(Interaction.Columns.wasRead == false)
|
|
|
|
.filter(
|
|
|
|
.filter(Interaction.Variant.variantsToIncrementUnreadCount.contains(Interaction.Column.variant))
|
|
|
|
Interaction.Columns.variant == Interaction.Variant.standardIncoming ||
|
|
|
|
|
|
|
|
Interaction.Columns.variant == Interaction.Variant.infoCall
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
.filter(
|
|
|
|
.filter(
|
|
|
|
// Only count mentions if 'onlyNotifyForMentions' is set
|
|
|
|
// Only count mentions if 'onlyNotifyForMentions' is set
|
|
|
|
thread[.onlyNotifyForMentions] == false ||
|
|
|
|
thread[.onlyNotifyForMentions] == false ||
|
|
|
|