Fix build

This commit is contained in:
gmbnt 2020-04-07 11:19:10 +10:00
parent 2e38b382c2
commit fcba3bc76f
1 changed files with 1 additions and 1 deletions

View File

@ -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