From 44c413bca461863cf04442642bac9f68db1b6200 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Tue, 30 Jul 2019 12:08:46 +0200 Subject: fix(Notifications): Fix issue that blocked notifications from e.g. Slack --- src/stores/AppStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 72c4b4d0b..bca20a581 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -189,7 +189,7 @@ export default class AppStore extends Store { if (this.stores.settings.all.app.isAppMuted) return; // TODO: is there a simple way to use blobs for notifications without storing them on disk? - if (options.icon.startsWith('blob:')) { + if (options.icon && options.icon.startsWith('blob:')) { delete options.icon; } -- cgit v1.2.3-70-g09d2