refactor: improve whitelabel config

This commit is contained in:
2024-01-22 16:41:40 +00:00
parent 4aa00405ee
commit e7f9b5e2ea
20 changed files with 90 additions and 86 deletions

View File

@ -272,7 +272,6 @@ function makeNotification(n: PushNotification) {
const ret = {
body: body(),
icon: evx.author.avatar ?? defaultAvatar(evx.author.pubkey),
badge: `${location.protocol}//${location.hostname}${CONFIG.appleTouchIconUrl}`,
timestamp: evx.created_at * 1000,
tag: evx.id,
data: JSON.stringify(n),