mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
SDK Bump to 1.0.80 and push notifications filtering (#1131)
* filtering nil notifications * updated the sdk
This commit is contained in:
@@ -72,7 +72,10 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
|
||||
do {
|
||||
let userSession = try NSEUserSession(credentials: credentials)
|
||||
|
||||
let itemProxy = try await userSession.notificationItemProxy(roomID: roomId, eventID: eventId)
|
||||
guard let itemProxy = try await userSession.notificationItemProxy(roomID: roomId, eventID: eventId) else {
|
||||
MXLog.info("\(tag) no notification for this event")
|
||||
return discard()
|
||||
}
|
||||
|
||||
// After the first processing, update the modified content
|
||||
modifiedContent = try await itemProxy.process(mediaProvider: nil)
|
||||
|
||||
Reference in New Issue
Block a user