Fix seen_on bug for userEvents

This commit is contained in:
Jonathan Staab 2023-06-20 08:44:10 -07:00
parent 1887c2027b
commit 12e56c3625

View File

@ -166,7 +166,7 @@ class PublishableEvent {
const promise = pool.publish({relays, event, onProgress, verb})
// Copy the event since loki mutates it to add metadata
sync.processEvents({...event})
sync.processEvents({...event, seen_on: []})
return [event, promise]
}