notifications: handle images

This commit is contained in:
end-4
2025-04-19 23:11:10 +02:00
parent 17289cef29
commit 6d2469fe4c
2 changed files with 43 additions and 4 deletions
@@ -24,8 +24,8 @@ Singleton {
// bodyImagesSupported: true
bodyMarkupSupported: true
bodySupported: true
// imageSupported: true
keepOnReload: false // I can't figure out RetainableLock, using a custom solution with a json file instead
imageSupported: true
keepOnReload: false
persistenceSupported: true
onNotification: (notification) => {
@@ -41,6 +41,7 @@ Singleton {
"appIcon": notification.appIcon,
"appName": notification.appName,
"body": notification.body,
"image": notification.image,
"summary": notification.summary,
"time": Date.now(),
"urgency": notification.urgency.toString(),