mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Notification Placeholder Image Caching (#1248)
* placeholder image caching * code improvement * code is now clearer
This commit is contained in:
@@ -98,7 +98,7 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
|
||||
// After the first processing, update the modified content
|
||||
modifiedContent = try await itemProxy.process(mediaProvider: nil)
|
||||
|
||||
guard itemProxy.requiresMediaProvider else {
|
||||
guard itemProxy.hasMedia else {
|
||||
MXLog.info("\(tag) no media needed")
|
||||
|
||||
// We've processed the item and no media operations needed, so no need to go further
|
||||
|
||||
Reference in New Issue
Block a user