diff --git a/src/web/app/desktop/script.ts b/src/web/app/desktop/script.ts
index e7c8f8e492..bbd8e9598b 100644
--- a/src/web/app/desktop/script.ts
+++ b/src/web/app/desktop/script.ts
@@ -65,7 +65,7 @@ init(async (launch) => {
 		}
 
 		if ((Notification as any).permission == 'granted') {
-			registerNotifications(app.$data.os.stream);
+			registerNotifications(os.stream);
 		}
 	}