mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
feat(push): read URL from notification
also matches fix on delta, closes #410
This commit is contained in:
parent
6748ec9295
commit
657e9eb04e
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ self.addEventListener("push", (event) => {
|
||||||
body: data.body,
|
body: data.body,
|
||||||
timestamp: data.timestamp,
|
timestamp: data.timestamp,
|
||||||
tag: data.tag,
|
tag: data.tag,
|
||||||
badge: "https://app.revolt.chat/assets/icons/android-chrome-512x512.png"
|
badge: "https://app.revolt.chat/assets/icons/android-chrome-512x512.png",
|
||||||
|
data: data.url,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
event.waitUntil(process());
|
event.waitUntil(process());
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue