web/notification: fix badge url and add silent flag

This commit is contained in:
Tulir Asokan 2024-12-15 19:56:17 +02:00
parent 0ebfc15ad7
commit af05e8e86f

View file

@ -338,9 +338,10 @@ export class StateStore {
const notif = new Notification(title, {
body,
icon,
badge: "/gomuks.png",
badge: "gomuks.png",
// timestamp: evt.timestamp,
// image: ...,
silent: !sound,
tag: rowid.toString(),
})
room.openNotifications.set(rowid, notif)