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();
|
||||
json['unsigned'] ??= <String, dynamic>{};
|
||||
json['unsigned'][messageSendingStatusKey] = -1;
|
||||
room.client.handleSync(SyncUpdate()
|
||||
room.client.handleSync(SyncUpdate(nextBatch: '')
|
||||
..rooms = (RoomsUpdate()
|
||||
..join = (<String, JoinedRoomUpdate>{}..[room.id] =
|
||||
(JoinedRoomUpdate()
|
||||
|
|
|
|||
Loading…
Reference in New Issue