diff --git a/src/vector/platform/WebPlatform.js b/src/vector/platform/WebPlatform.js index b3274021f..3477fc8bc 100644 --- a/src/vector/platform/WebPlatform.js +++ b/src/vector/platform/WebPlatform.js @@ -68,7 +68,7 @@ export default class WebPlatform extends BasePlatform { * notifications, otherwise false. */ supportsNotifications() : boolean { - return true; + return Boolean(global.Notification); } /**