fix: Has new messages is never true

This commit is contained in:
Krille 2023-08-01 09:25:40 +02:00
parent 210ce7c532
commit dd64f4702a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ class Event extends MatrixEvent {
.toList();
final own = receipts.global.latestOwnReceipt;
if (own != null) {
if (own != null && own.eventId == eventId) {
receiptsList.add(Receipt(
room.unsafeGetUserFromMemoryOrFallback(room.client.userID!),
own.timestamp));