relays: Publish kind 10_002

Closes: https://github.com/damus-io/damus/pull/1783
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Kieran
2023-11-30 23:11:16 +00:00
committed by William Casarin
parent 9e4f0122f5
commit 7a5aef94a8
5 changed files with 33 additions and 0 deletions

View File

@@ -113,6 +113,9 @@ struct AddRelayView: View {
state.pool.send(.event(new_ev))
if let relay_metadata = make_relay_metadata(relays: state.pool.our_descriptors, keypair: keypair) {
state.postbox.send(relay_metadata)
}
new_relay = ""
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)