Fix to allow relays using ws://

Changelog-Fixed: allow ws:// relays again
This commit is contained in:
Steven Briscoe
2023-01-23 16:31:02 +00:00
committed by William Casarin
parent 2b832120ec
commit 1baae90beb

View File

@@ -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
}