Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30759c66 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Fix wrong message showing up in notification

parent 0a0b95b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ class MessageRepositoryImpl @Inject constructor(
     */
    override fun getUnreadUnseenMessages(threadId: Long): RealmResults<Message> {
        return Realm.getDefaultInstance()
                .also { it.refresh() }
                .where(Message::class.java)
                .equalTo("seen", false)
                .equalTo("read", false)