diff --git a/src/components/views/elements/AppPermission.js b/src/components/views/elements/AppPermission.js index 083a7cd9c7..2b940133e9 100644 --- a/src/components/views/elements/AppPermission.js +++ b/src/components/views/elements/AppPermission.js @@ -47,6 +47,11 @@ export default class AppPermission extends React.Component { } render() { + let e2eWarningText; + if (this.props.isRoomEncrypted) { + e2eWarningText = + NOTE: Apps are not end-to-end encrypted; + } return (
@@ -54,6 +59,7 @@ export default class AppPermission extends React.Component {
Do you want to load widget from URL: {this.state.curlBase} + {e2eWarningText}