mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
4330a40f6f
Updated the PushNotificationAPI to be more consistent with the SnodeAPI and OpenGroupAPI structures Updated the logic so if the database key can't be retrieved the app will no longer throw a fatalError (now just fail to initialise Storage and rely on the App/Extensions to properly handle this case) Fixed a couple of bugs where the share extension wouldn't populate correctly
11 lines
220 B
Swift
11 lines
220 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
extension PushNotificationAPI {
|
|
struct LegacyPushServerResponse: Codable {
|
|
let code: Int
|
|
let message: String?
|
|
}
|
|
}
|