summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadREST
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@mullvad.net>2025-08-28 10:17:37 +0200
committerJon Petersson <jon.petersson@mullvad.net>2025-08-28 10:17:37 +0200
commiteb3954f466a7dd19adf3883dc94c7c12f8990834 (patch)
tree14dc67185521c1363ec2f564be07a33fb3a6c2ba /ios/MullvadREST
parent21b3ede39501c037231e69c89c2d18cbde156f5f (diff)
parent0e2e0973873fec4997d27fb3fdb262bfe252d102 (diff)
downloadmullvadvpn-eb3954f466a7dd19adf3883dc94c7c12f8990834.tar.xz
mullvadvpn-eb3954f466a7dd19adf3883dc94c7c12f8990834.zip
Merge branch 'fix-relay-features-not-being-found-on-cached-relays'
Diffstat (limited to 'ios/MullvadREST')
-rw-r--r--ios/MullvadREST/ApiHandlers/ServerRelaysResponse.swift21
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,