[Room] Fix roomID query

This commit is contained in:
Christian Pauly 2019-08-29 09:03:05 +02:00
parent 5df56ea12f
commit 91ae18e760

View file

@ -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;
});