1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Add ToDo item.

This commit is contained in:
Richard Lewis
2017-07-28 18:21:23 +01:00
parent 6aa1d923ce
commit a310ff3bab

View File

@@ -151,6 +151,7 @@ export default React.createClass({
return 'Revoke widget access';
},
/* TODO -- Store permission in account data so that it is persisted across multiple devices */
_grantWidgetPermission() {
console.warn('Granting permission to load widget - ', this.state.widgetUrl);
localStorage.setItem(this.state.widgetPermissionId, true);