aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stores/AppStore.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 89eb16fe2..84450845a 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -185,6 +185,11 @@ export default class AppStore extends Store {
185 }) { 185 }) {
186 if (this.stores.settings.all.app.isAppMuted) return; 186 if (this.stores.settings.all.app.isAppMuted) return;
187 187
188 // TODO: is there a simple way to use blobs for notifications without storing them on disk?
189 if (options.icon.startsWith('blob:')) {
190 delete options.icon;
191 }
192
188 const notification = new window.Notification(title, options); 193 const notification = new window.Notification(title, options);
189 notification.onclick = (e) => { 194 notification.onclick = (e) => {
190 if (serviceId) { 195 if (serviceId) {