fix: delete from search
This commit is contained in:
@ -113,6 +113,9 @@ export class SqliteRelay extends EventEmitter<RelayHandlerEvents> implements Rel
|
|||||||
db.exec(`delete from events where id in (${this.#repeatParams(ids.length)})`, {
|
db.exec(`delete from events where id in (${this.#repeatParams(ids.length)})`, {
|
||||||
bind: ids,
|
bind: ids,
|
||||||
});
|
});
|
||||||
|
db.exec(`delete from search_content where id in (${this.#repeatParams(ids.length)})`, {
|
||||||
|
bind: ids,
|
||||||
|
});
|
||||||
this.#log("Deleted", ids, db.changes());
|
this.#log("Deleted", ids, db.changes());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user