Merge branch 'event-fix-removequery' into 'master'

[Event] Fix the remove query

See merge request famedly/famedlysdk!74
This commit is contained in:
Marcel 2019-09-04 09:19:56 +00:00
commit ebeb8fabfa

View file

@ -103,7 +103,7 @@ class Event extends RoomState {
if (status < 1) { if (status < 1) {
if (room.client.store != null) if (room.client.store != null)
await room.client.store.db 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( room.client.connection.onEvent.add(EventUpdate(
roomID: room.id, roomID: room.id,