mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
76f7e4e246
Added logic to handle the case when ID blinded gets switched on server-side and the app already has open groups with cached capabilities Added logic to migrate users from using HTTP and IP-based session open groups to use the HTTPS domain name url instead Fixed a bug with the PushNotificationAPI update registration response structure Fixed some broken unit tests (and a bug which was introduced in an earlier optimisation) Fixed a bug where trusting a contact (to download their messages) wouldn't trigger the message UI to update Fixed a bug where tapping a push notification wasn't opening the associated thread when the app isn't running in the background
16 lines
327 B
Swift
16 lines
327 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
extension PushNotificationAPI {
|
|
struct UpdateRegistrationResponse: Codable {
|
|
struct Body: Codable {
|
|
let code: Int
|
|
let message: String?
|
|
}
|
|
|
|
let status: Int
|
|
let body: Body
|
|
}
|
|
}
|