fix notification url

This commit is contained in:
2024-12-02 11:02:58 +02:00
parent 56f4341cd8
commit 99f9d0db75
2 changed files with 3 additions and 2 deletions
@@ -120,7 +120,7 @@ const start = async () => {
requireInteraction: true,
timestamp,
data: {
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}`,
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}#message-${msgDoc.created_at}`,
payload: { tag },
},
} as const;
@@ -198,7 +198,7 @@ const start = async () => {
requireInteraction: true,
timestamp,
data: {
url: `/manage/${msgDoc.qr_code_uri}/chat/${msgDoc.chat}`,
url: `/chat/${msgDoc.qr_code_uri}/${msgDoc.chat}#message-${msgDoc.created_at}`,
payload: { tag },
},
} as const;