mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-20 22:11:31 +00:00
ios: adjust preferences UX; fix group profile not updating; fix servers api (#1377)
This commit is contained in:
@@ -311,7 +311,7 @@ func apiDeleteToken(token: DeviceToken) async throws {
|
||||
|
||||
func getUserSMPServers() throws -> [String] {
|
||||
let r = chatSendCmdSync(.getUserSMPServers)
|
||||
if case let .userSMPServers(smpServers) = r { return smpServers }
|
||||
if case let .userSMPServers(smpServers, _) = r { return smpServers.map { $0.server } }
|
||||
throw r
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user