mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
log when we get a click from a notif without a tag
like when the browser decides to show "site got updated in the background" notif in response to a unread=0 push message.
This commit is contained in:
parent
e54a707684
commit
889ca05506
@ -190,6 +190,7 @@ const NOTIF_TAG_NEW_MESSAGE = "new_message";
|
||||
|
||||
async function openClientFromNotif(event) {
|
||||
if (event.notification.tag !== NOTIF_TAG_NEW_MESSAGE) {
|
||||
console.log("clicked notif with tag", event.notification.tag);
|
||||
return;
|
||||
}
|
||||
const {sessionId, roomId} = event.notification.data;
|
||||
|
Loading…
Reference in New Issue
Block a user