diff --git a/lib/src/Room.dart b/lib/src/Room.dart index 21e48ff..69c0853 100644 --- a/lib/src/Room.dart +++ b/lib/src/Room.dart @@ -275,7 +275,7 @@ class Room { client.connection.onEvent.add(eventUpdate); client.store.storeEventUpdate(eventUpdate); client.store.txn.rawUpdate( - "UPDATE Rooms SET prev_batch=? WHERE id=?", [ resp.["end"], id ]); + "UPDATE Rooms SET prev_batch=? WHERE id=?", [ resp["end"], id ]); } }); }