diff --git a/lib/src/client.dart b/lib/src/client.dart index 6ed81e06..32fe2cd7 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1492,7 +1492,8 @@ class Client extends MatrixApi { (rooms[j].membership != chatUpdate.membership || rooms[j].notificationCount != chatUpdate.notification_count || rooms[j].highlightCount != chatUpdate.highlight_count || - chatUpdate.summary != null)) { + chatUpdate.summary != null || + chatUpdate.prev_batch != null)) { rooms[j].membership = chatUpdate.membership; rooms[j].notificationCount = chatUpdate.notification_count; rooms[j].highlightCount = chatUpdate.highlight_count;