[Event] Fix the remove query
This commit is contained in:
parent
055830fd78
commit
1db66a779a
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue