commit 06d4bb8563482b8cf86694e0d2ff6c911bffc662
parent 44c7579892cbea5b7a70e006ee6c943591124762
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date:   Tue, 21 Nov 2023 19:01:18 +0100

fix(core/messaging): feed cached snap messages filter

Diffstat:
Mcore/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Messaging.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Messaging.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Messaging.kt @@ -66,7 +66,7 @@ class Messaging : Feature("Messaging", loadParams = FeatureLoadParams.ACTIVITY_C val myUserId = context.database.myUserId feedCachedSnapMessages[conversationId] = messages.filter { msg -> - msg.messageMetadata?.seenBy?.none { it.toString() == myUserId } == true + msg.messageMetadata?.openedBy?.none { it.toString() == myUserId } == true }.sortedBy { it.orderKey }.mapNotNull { it.messageDescriptor?.messageId } }