diff --git a/client/web/plugins/com.msgbyte.notify/src/notify.ts b/client/web/plugins/com.msgbyte.notify/src/notify.ts index 62ddb214..e5d209f3 100644 --- a/client/web/plugins/com.msgbyte.notify/src/notify.ts +++ b/client/web/plugins/com.msgbyte.notify/src/notify.ts @@ -44,7 +44,7 @@ export function initNotify() { tag: 'tailchat-message', renotify: true, }; - if (registration) { + if (registration && registration.showNotification) { registration.showNotification(title, options); } else { // fallback