diff --git a/msgNotificationService/NotificationService.swift b/msgNotificationService/NotificationService.swift index fb0e2553e..a85c9b278 100644 --- a/msgNotificationService/NotificationService.swift +++ b/msgNotificationService/NotificationService.swift @@ -47,8 +47,8 @@ class NotificationService: UNNotificationServiceExtension { NSLog("[msgNotificationService] start msgNotificationService extension") if let bestAttemptContent = bestAttemptContent { - NSLog("[msgNotificationService] received push payload : \(bestAttemptContent.userInfo.debugDescription)") createCore() + NotificationService.log.message(msg: "received push payload : \(bestAttemptContent.userInfo.debugDescription)") if let chatRoomInviteAddr = bestAttemptContent.userInfo["chat-room-addr"] as? String, !chatRoomInviteAddr.isEmpty { NotificationService.log.message(msg: "fetch chat room for invite, addr: \(chatRoomInviteAddr)")