mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Removed the 'fileSizeORMultiplier' that was dealing with the b64 encoding (no longer exists) Increased the request timeout for file upload/download to 30 seconds (up from 10 seconds)
17 lines
475 B
Swift
17 lines
475 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
import SessionUIKit
|
|
import SessionSnodeKit
|
|
import SessionMessagingKit
|
|
|
|
public enum Configuration {
|
|
public static func performMainSetup() {
|
|
// Need to do this first to ensure the legacy database exists
|
|
SNUtilitiesKit.configure(maxFileSize: UInt(FileServerAPI.maxFileSize))
|
|
SNMessagingKit.configure()
|
|
SNSnodeKit.configure()
|
|
SNUIKit.configure()
|
|
}
|
|
}
|