mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/notification: fix badge url and add silent flag
This commit is contained in:
parent
0ebfc15ad7
commit
af05e8e86f
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue