Do onEnterBackground in async core queue

This commit is contained in:
Benoit Martins 2025-08-25 16:17:13 +02:00
parent 1a19012613
commit 6d81455b56

View file

@ -432,7 +432,7 @@ class CoreContext: ObservableObject {
}
func onEnterBackground() {
coreQueue.sync {
coreQueue.async {
// We can't rely on defaultAccount?.params?.isPublishEnabled
// as it will be modified by the SDK when changing the presence status
Log.info("App is in background, un-PUBLISHING presence info")