This commit is contained in:
Christian Pauly 2019-06-11 13:45:00 +02:00
parent 2ebb2eb24e
commit 56514d423f

View file

@ -275,7 +275,7 @@ class Room {
client.connection.onEvent.add(eventUpdate); client.connection.onEvent.add(eventUpdate);
client.store.storeEventUpdate(eventUpdate); client.store.storeEventUpdate(eventUpdate);
client.store.txn.rawUpdate( client.store.txn.rawUpdate(
"UPDATE Rooms SET prev_batch=? WHERE id=?", [ resp.["end"], id ]); "UPDATE Rooms SET prev_batch=? WHERE id=?", [ resp["end"], id ]);
} }
}); });
} }