forked from mirrors/linphone-iphone
Remove disable_chat_feature check in Notification service
This commit is contained in:
parent
4884997db6
commit
8afe787d2a
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||||
if let bestAttemptContent = bestAttemptContent {
|
if let bestAttemptContent = bestAttemptContent {
|
||||||
createCore()
|
createCore()
|
||||||
|
|
||||||
if !lc!.config!.getBool(section: "app", key: "disable_chat_feature", defaultValue: true) {
|
//if !lc!.config!.getBool(section: "app", key: "disable_chat_feature", defaultValue: false) {
|
||||||
Log.info("received push payload : \(bestAttemptContent.userInfo.debugDescription)")
|
Log.info("received push payload : \(bestAttemptContent.userInfo.debugDescription)")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -178,7 +178,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||||
Log.info("Message not found for callid ["+callId+"]")
|
Log.info("Message not found for callid ["+callId+"]")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
serviceExtensionTimeWillExpire()
|
serviceExtensionTimeWillExpire()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue