Skip to content
Permalink
Browse files

fix(Notifications): Fix notifications & notification click when icon …

…is blob
  • Loading branch information...
adlk committed Mar 8, 2019
1 parent 5b02c4d commit 03589f613e7d1ef559904360f260caa4e98897ff
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/stores/AppStore.js
@@ -185,6 +185,11 @@ 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:')) {
delete options.icon;
}

const notification = new window.Notification(title, options);
notification.onclick = (e) => {
if (serviceId) {

0 comments on commit 03589f6

Please sign in to comment.
You can’t perform that action at this time.