Adds the user's outbox relays to keep a copy of vanish requests.
This commit is contained in:
@@ -2055,7 +2055,7 @@ class Account(
|
|||||||
val template = RequestToVanishEvent.build(relays, reason, createdAt)
|
val template = RequestToVanishEvent.build(relays, reason, createdAt)
|
||||||
val signedEvent = signer.sign(template)
|
val signedEvent = signer.sign(template)
|
||||||
cache.justConsumeMyOwnEvent(signedEvent)
|
cache.justConsumeMyOwnEvent(signedEvent)
|
||||||
client.send(signedEvent, relays.toSet())
|
client.send(signedEvent, outboxRelays.flow.value + relays.toSet())
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun requestToVanishFromEverywhere(
|
suspend fun requestToVanishFromEverywhere(
|
||||||
|
|||||||
Reference in New Issue
Block a user