Fix build
This commit is contained in:
parent
2e38b382c2
commit
fcba3bc76f
|
@ -83,7 +83,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
|
||||||
thread = TSContactThread.getOrCreateThread(withContactId: result.source, transaction: transaction)
|
thread = TSContactThread.getOrCreateThread(withContactId: result.source, transaction: transaction)
|
||||||
displayName = contentProto?.dataMessage?.profile?.displayName ?? displayName
|
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.title = displayName
|
||||||
notificationContent.userInfo = userInfo
|
notificationContent.userInfo = userInfo
|
||||||
notificationContent.badge = 1
|
notificationContent.badge = 1
|
||||||
|
|
Loading…
Reference in New Issue