diff --git a/LokiPushNotificationService/NotificationServiceExtension.swift b/LokiPushNotificationService/NotificationServiceExtension.swift index 4fa3eacf6..2cbf3761b 100644 --- a/LokiPushNotificationService/NotificationServiceExtension.swift +++ b/LokiPushNotificationService/NotificationServiceExtension.swift @@ -83,7 +83,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension { thread = TSContactThread.getOrCreateThread(withContactId: result.source, transaction: transaction) displayName = contentProto?.dataMessage?.profile?.displayName ?? displayName } - let userInfo: [String:Any] = [ NotificationService.threadIdKey : thread.uniqueId!, NotificationService.isFromRemoteKey : true ] + let userInfo: [String:Any] = [ NotificationServiceExtension.threadIdKey : thread.uniqueId!, NotificationServiceExtension.isFromRemoteKey : true ] notificationContent.title = displayName notificationContent.userInfo = userInfo notificationContent.badge = 1