[Event] Fix the remove query

This commit is contained in:
Christian 2019-09-04 09:19:56 +00:00 committed by Marcel
parent 055830fd78
commit 1db66a779a

View file

@ -103,7 +103,7 @@ class Event extends RoomState {
if (status < 1) {
if (room.client.store != null)
await room.client.store.db
.rawDelete("DELETE FROM Events WHERE id=?", [eventId]);
.rawDelete("DELETE FROM Events WHERE event_id=?", [eventId]);
room.client.connection.onEvent.add(EventUpdate(
roomID: room.id,