Add screen to select individual relays when posting/broadcasting
Changelog-Added: Add screen to select individual relays when posting/broadcasting Closes: #525
This commit is contained in:
1 parent
552402f2b5
commit
04759107a2
7 files changed
+244
-40
No files matched your search
@@ -7,14 +7,14 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
public struct RelayInfo: Codable {
|
||||
public struct RelayInfo: Codable, Hashable {
|
||||
let read: Bool
|
||||
let write: Bool
|
||||
|
||||
static let rw = RelayInfo(read: true, write: true)
|
||||
}
|
||||
|
||||
public struct RelayDescriptor: Codable {
|
||||
public struct RelayDescriptor: Codable, Hashable {
|
||||
public let url: URL
|
||||
public let info: RelayInfo
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user