diff --git a/www/common/notify.js b/www/common/notify.js index 101bae6ee..e54531f0d 100644 --- a/www/common/notify.js +++ b/www/common/notify.js @@ -7,7 +7,7 @@ define(['/api/config'], function (ApiConfig) { var document = window.document; var isSupported = Module.isSupported = function () { - return typeof(window.Notification) === 'function' && window.location.protocol === 'https:'; + return typeof(window.Notification) === 'function' && window.isSecureContext; }; var hasPermission = Module.hasPermission = function () { diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 2b301b20b..beae6a523 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -642,8 +642,13 @@ define([ href: href, channel: channel, title: data.driveReadmeTitle, + owners: [ store.proxy.edPublic ], }; Store.addPad(clientId, fileData, cb); + }, { + metadata: { + owners: [ store.proxy.edPublic ], + }, }); }); };