Regenerate thumbnails to see if it helps with phantom avatar switching. (#3503)

This commit is contained in:
Doug
2024-11-11 16:48:19 +00:00
committed by GitHub
parent 66dad13939
commit e191b17d15

View File

@@ -184,7 +184,7 @@ extension UNMutableNotificationContent {
private func getPlaceholderAvatarImageData(name: String, id: String) async -> Data? {
// The version value is used in case the design of the placeholder is updated to force a replacement
let shouldFlipAvatar = shouldFlipAvatar()
let prefix = "notification_placeholder\(shouldFlipAvatar ? "V8F" : "V8")"
let prefix = "notification_placeholder\(shouldFlipAvatar ? "V9F" : "V9")"
let fileName = "\(prefix)_\(name)_\(id).png"
if let data = try? Data(contentsOf: URL.temporaryDirectory.appendingPathComponent(fileName)) {
MXLog.info("Found existing notification icon placeholder")