fixed several runtime errors from client error reports
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user