Skip to content

Node.js based forum software built for the modern web

fix: remove includeUncontrolled as we are posting messages, and that only works with windows you control lol

Julian Lam028b6d74b2b0
diff --git a/public/src/service-worker.js b/public/src/service-worker.js
index 0329661593..bcd3370ee0 100644
--- a/public/src/service-worker.js
+++ b/public/src/service-worker.js
@@ -56,10 +56,7 @@ self.addEventListener('notificationclick', (event) => {
// This looks to see if the current is already open and focuses if it is
event.waitUntil(
self.clients
- .matchAll({
- type: 'window',
- includeUncontrolled: true,
- })
+ .matchAll({ type: 'window' })
.then((clientList) => {
// eslint-disable-next-line no-restricted-syntax
for (const client of clientList) {