mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
fix
This commit is contained in:
@@ -179,7 +179,8 @@ extension NotificationItemProxyProtocol {
|
|||||||
notification.eventID = eventID
|
notification.eventID = eventID
|
||||||
notification.sound = isNoisy ? UNNotificationSound(named: UNNotificationSoundName(rawValue: "message.caf")) : nil
|
notification.sound = isNoisy ? UNNotificationSound(named: UNNotificationSoundName(rawValue: "message.caf")) : nil
|
||||||
// So that the UI groups notification that are received for the same room but also for the same user
|
// So that the UI groups notification that are received for the same room but also for the same user
|
||||||
notification.threadIdentifier = "\(receiverID)\(roomID)"
|
// Removing the @ fixes an iOS bug where the notification crashes if the mute button is tapped
|
||||||
|
notification.threadIdentifier = "\(receiverID)\(roomID)".replacingOccurrences(of: "@", with: "")
|
||||||
return notification
|
return notification
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Fixed a bug that made the spring board crash when trying to mute notifications.
|
||||||
Reference in New Issue
Block a user