Skip to content

Commit 44c413b

Browse files
committed
fix(Notifications): Fix issue that blocked notifications from e.g. Slack
1 parent 72d27d2 commit 44c413b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/AppStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export default class AppStore extends Store {
189189
if (this.stores.settings.all.app.isAppMuted) return;
190190

191191
// TODO: is there a simple way to use blobs for notifications without storing them on disk?
192-
if (options.icon.startsWith('blob:')) {
192+
if (options.icon && options.icon.startsWith('blob:')) {
193193
delete options.icon;
194194
}
195195

0 commit comments

Comments
 (0)