This commit is contained in:
Bruno Windels 2021-03-25 10:01:25 +01:00
parent 165532be30
commit bc763e2a19

View File

@ -206,7 +206,7 @@ async function openClientFromNotif(event) {
if ('focus' in clientWithSession) {
await clientWithSession.focus();
}
} else if (self.client.openWindow) {
} else if (self.clients.openWindow) {
console.log("notificationclick: no client found with session open, opening new window");
await self.clients.openWindow(roomURL);
}