mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
a6deef76ea
commit
02c1378823
@ -121,7 +121,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
||||
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
||||
};
|
||||
|
||||
private _onEncryptionChange = async (e: React.ChangeEvent) => {
|
||||
private onEncryptionChange = async (e: React.ChangeEvent) => {
|
||||
if (this.state.joinRule == "public") {
|
||||
const {finished} = Modal.createTrackedDialog('Confirm Public Encrypted Room', '', QuestionDialog, {
|
||||
title: _t('Enable encryption in a public room?'),
|
||||
@ -239,7 +239,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
||||
});
|
||||
}
|
||||
|
||||
_onRoomAccessRadioToggle = (roomAccess) => {
|
||||
private onRoomAccessRadioToggle = (roomAccess) => {
|
||||
if (
|
||||
this.state.encrypted &&
|
||||
this.state.joinRule != "public" &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user