fix: Missing required field `nextBatch`
This commit is contained in:
parent
e8d511a371
commit
4ca69e3e1d
|
|
@ -129,7 +129,7 @@ class Event extends MatrixEvent {
|
||||||
final json = toJson();
|
final json = toJson();
|
||||||
json['unsigned'] ??= <String, dynamic>{};
|
json['unsigned'] ??= <String, dynamic>{};
|
||||||
json['unsigned'][messageSendingStatusKey] = -1;
|
json['unsigned'][messageSendingStatusKey] = -1;
|
||||||
room.client.handleSync(SyncUpdate()
|
room.client.handleSync(SyncUpdate(nextBatch: '')
|
||||||
..rooms = (RoomsUpdate()
|
..rooms = (RoomsUpdate()
|
||||||
..join = (<String, JoinedRoomUpdate>{}..[room.id] =
|
..join = (<String, JoinedRoomUpdate>{}..[room.id] =
|
||||||
(JoinedRoomUpdate()
|
(JoinedRoomUpdate()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue