Merge branch 'event-fix-removequery' into 'master'
[Event] Fix the remove query See merge request famedly/famedlysdk!74
This commit is contained in:
commit
ebeb8fabfa
|
@ -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