Protect current pad keys in the unsafe iframe

This commit is contained in:
yflory
2020-04-07 17:12:06 +02:00
parent 43904df0fb
commit 0ccc57f6f7
2 changed files with 8 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ define([
Cryptpad.onMetadataChanged(updateMeta);
sframeChan.onReg('EV_METADATA_UPDATE', updateMeta);
config.addCommonRpc(sframeChan);
config.addCommonRpc(sframeChan, true);
Cryptpad.padRpc.onMetadataEvent.reg(function (data) {
sframeChan.event('EV_RT_METADATA', data);