Fix to allow relays using ws://
Changelog-Fixed: allow ws:// relays again
This commit is contained in:
committed by
William Casarin
parent
2b832120ec
commit
1baae90beb
@@ -154,7 +154,7 @@ struct ConfigView: View {
|
||||
return
|
||||
}
|
||||
|
||||
if relay.starts(with: "wss://") == false {
|
||||
if relay.starts(with: "wss://") == false && relay.starts(with: "ws://") == false {
|
||||
relay = "wss://" + relay
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user