mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
feat(push): read URL from notification
also matches fix on delta, closes #410
This commit is contained in:
@@ -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());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user