mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix build with dispatch queue renaming
This commit is contained in:
parent
960d421ae7
commit
0e818ee772
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
// swiftlint:disable line_length
|
||||
|
||||
import linphonesw
|
||||
import linphone // needed for unwrapped function linphone_core_set_push_registry_dispatch_queue
|
||||
import linphone // needed for unwrapped function linphone_core_set_push_and_app_delegate_dispatch_queue
|
||||
import Combine
|
||||
import UniformTypeIdentifiers
|
||||
import Network
|
||||
|
|
@ -100,7 +100,7 @@ final class CoreContext: ObservableObject {
|
|||
Log.info("Initialising core")
|
||||
self.mCore = try? Factory.Instance.createSharedCoreWithConfig(config: Config.get(), systemContext: nil, appGroupId: Config.appGroupName, mainCore: true)
|
||||
|
||||
linphone_core_set_push_registry_dispatch_queue(self.mCore.getCobject, Unmanaged.passUnretained(coreQueue).toOpaque())
|
||||
linphone_core_set_push_and_app_delegate_dispatch_queue(self.mCore.getCobject, Unmanaged.passUnretained(coreQueue).toOpaque())
|
||||
self.mCore.autoIterateEnabled = false
|
||||
self.mCore.callkitEnabled = true
|
||||
self.mCore.pushNotificationEnabled = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue