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:
committed by
William Casarin
parent
552402f2b5
commit
04759107a2
@@ -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