fix: Has new messages is never true
This commit is contained in:
parent
210ce7c532
commit
dd64f4702a
|
|
@ -332,7 +332,7 @@ class Event extends MatrixEvent {
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
final own = receipts.global.latestOwnReceipt;
|
final own = receipts.global.latestOwnReceipt;
|
||||||
if (own != null) {
|
if (own != null && own.eventId == eventId) {
|
||||||
receiptsList.add(Receipt(
|
receiptsList.add(Receipt(
|
||||||
room.unsafeGetUserFromMemoryOrFallback(room.client.userID!),
|
room.unsafeGetUserFromMemoryOrFallback(room.client.userID!),
|
||||||
own.timestamp));
|
own.timestamp));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue