mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-19 11:43:35 +00:00
Fix seen_on bug for userEvents
This commit is contained in:
parent
1887c2027b
commit
12e56c3625
@ -166,7 +166,7 @@ class PublishableEvent {
|
|||||||
const promise = pool.publish({relays, event, onProgress, verb})
|
const promise = pool.publish({relays, event, onProgress, verb})
|
||||||
|
|
||||||
// Copy the event since loki mutates it to add metadata
|
// Copy the event since loki mutates it to add metadata
|
||||||
sync.processEvents({...event})
|
sync.processEvents({...event, seen_on: []})
|
||||||
|
|
||||||
return [event, promise]
|
return [event, promise]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user