From 1db66a779a8779461aad3351f338d3be17069a2e Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 4 Sep 2019 09:19:56 +0000 Subject: [PATCH] [Event] Fix the remove query --- lib/src/Event.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Event.dart b/lib/src/Event.dart index 25a9d86..70aa402 100644 --- a/lib/src/Event.dart +++ b/lib/src/Event.dart @@ -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,