From 91ae18e760566b95c7537a2e807c54600b818feb Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 29 Aug 2019 09:03:05 +0200 Subject: [PATCH] [Room] Fix roomID query --- lib/src/Room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Room.dart b/lib/src/Room.dart index d87155d5..8ac85698 100644 --- a/lib/src/Room.dart +++ b/lib/src/Room.dart @@ -363,7 +363,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 room_id=?", [resp["end"], id]); } return; });