diff --git a/components/app.js b/components/app.js index 12bec0b..d7120a8 100644 --- a/components/app.js +++ b/components/app.js @@ -522,7 +522,7 @@ export default class App extends Component { let notif = showNotification(title, { body: stripANSI(text), requireInteraction: true, - tag: "msg," + msg.prefix.name + "," + bufName, + tag: "msg,server=" + serverID + ",from=" + msg.prefix.name + ",to=" + bufName, }); notif.addEventListener("click", () => { // TODO: scroll to message @@ -537,7 +537,7 @@ export default class App extends Component { let notif = new Notification("Invitation to " + channel, { body: msg.prefix.name + " has invited you to " + channel, requireInteraction: true, - tag: "invite," + msg.prefix.name + "," + channel, + tag: "invite,server=" + serverID + ",from=" + msg.prefix.name + ",channel=" + channel, actions: [{ action: "accept", title: "Accept",