mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Purify event before sending to pool
This commit is contained in:
parent
e99496306a
commit
e88a7d01d4
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ export class DittoAPIStore implements NRelay {
|
|||
|
||||
(async () => {
|
||||
try {
|
||||
await pool.event(event, opts);
|
||||
await pool.event(purifyEvent(event), opts);
|
||||
} catch (e) {
|
||||
logi({ level: 'error', ns: this.ns, source: 'publish', id, kind, error: errorJson(e) });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue