request capabilities temp

This commit is contained in:
yflory
2019-07-11 14:16:04 +02:00
parent df5090eaef
commit 6f1e281cf8
9 changed files with 166 additions and 2 deletions

View File

@@ -941,6 +941,13 @@ define([
sframeChan.event('EV_WORKER_TIMEOUT');
});
sframeChan.on('Q_REQUEST_ACCESS', function (data, cb) {
Cryptpad.padRpc.requestAccess({
send: data,
channel: secret.channel
}, cb);
});
if (cfg.messaging) {
Notifier.getPermission();