diff options
Diffstat (limited to 'ios/MullvadREST')
| -rw-r--r-- | ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift b/ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift index 134a6c7f0d..8d26081577 100644 --- a/ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift +++ b/ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift @@ -108,26 +108,7 @@ extension REST { ) } - // this is for the legacy DAITA flag, which will be deprecated in favour of a DAITA structure under Features - public func override(daita: Bool) -> Self { - ServerRelay( - hostname: hostname, - active: active, - owned: owned, - location: location, - provider: provider, - weight: weight, - ipv4AddrIn: ipv4AddrIn, - ipv6AddrIn: ipv6AddrIn, - publicKey: publicKey, - includeInCountry: includeInCountry, - daita: daita, - shadowsocksExtraAddrIn: shadowsocksExtraAddrIn, - features: features - ) - } - - public func override(features: ServerRelay.Features) -> Self { + public func override(features: ServerRelay.Features?) -> Self { ServerRelay( hostname: hostname, active: active, |
