fixed several runtime errors from client error reports

This commit is contained in:
2026-09-26 00:06:18 +02:00
parent 56a497985b
commit d6130584f2
6 changed files with 39 additions and 10 deletions
@@ -129,7 +129,7 @@ class ChatListBloc
/// A background poll that returns the same rooms would otherwise rebuild the
/// list and re-persist the whole state every 15 s.
bool _isUnchanged(GetRoomResponse rooms) {
final encoded = jsonEncode(rooms.data);
final encoded = jsonEncode(rooms.data.toList());
final unchanged =
encoded == _lastRoomsJson &&
innerState?.rooms != null &&