Skip to content

Commit

Permalink
fix(Notifications): Fix issue that blocked notifications from e.g. Slack
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Jul 30, 2019
1 parent 72d27d2 commit 44c413b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/AppStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 44c413b

Please sign in to comment.