Merge pull request #1536 from famedly/krille/has-new-messages-fix

fix: Has new messages is never true
This commit is contained in:
Krille-chan 2023-08-14 10:01:22 +00:00 committed by GitHub
commit d7f03708cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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));