mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
MyInfoEntityExtension: exclude emoji tapbacks (which never get marked as read anyway) from unread message count
This commit is contained in:
parent
c48e89c835
commit
28f6332277
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import CoreData
|
|||
|
||||
extension MyInfoEntity {
|
||||
var messagePredicate: NSPredicate {
|
||||
return NSPredicate(format: "toUser == nil")
|
||||
return NSPredicate(format: "toUser == nil AND isEmoji == false")
|
||||
}
|
||||
|
||||
var messageFetchRequest: NSFetchRequest<MessageEntity> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue