Update danger message and brew dependencies. (#683)

This commit is contained in:
Doug
2023-03-08 10:59:49 +00:00
committed by GitHub
parent d3b304e92e
commit 7d35876753
8 changed files with 19 additions and 19 deletions
@@ -51,12 +51,12 @@ extension UNMutableNotificationContent {
case .success(let url):
// Initialize only the sender for a one-to-one message intent.
let handle = INPersonHandle(value: senderId, type: .unknown)
let sender = INPerson(personHandle: handle,
nameComponents: nil,
displayName: senderName,
image: INImage(imageData: try Data(contentsOf: url)),
contactIdentifier: nil,
customIdentifier: nil)
let sender = try INPerson(personHandle: handle,
nameComponents: nil,
displayName: senderName,
image: INImage(imageData: Data(contentsOf: url)),
contactIdentifier: nil,
customIdentifier: nil)
// Because this communication is incoming, you can infer that the current user is
// a recipient. Don't include the current user when initializing the intent.