diff --git a/ElementX/Sources/Other/Extensions/UNNotificationContent.swift b/ElementX/Sources/Other/Extensions/UNNotificationContent.swift index 6cbbbcc3ae..025d67eb9e 100644 --- a/ElementX/Sources/Other/Extensions/UNNotificationContent.swift +++ b/ElementX/Sources/Other/Extensions/UNNotificationContent.swift @@ -184,7 +184,8 @@ extension UNMutableNotificationContent { } private func getPlaceholderAvatarImageData(name: String, id: String) async -> Data? { - let fileName = "notification_placeholder_\(name)_\(id).png" + // The version value is used in case the design of the placeholder is updated to force a replacement + let fileName = "notification_placeholderV2_\(name)_\(id).png" if let data = try? Data(contentsOf: URL.temporaryDirectory.appendingPathComponent(fileName)) { MXLog.info("Found existing notification icon placeholder") return data