Fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
a6deef76ea
commit
02c1378823
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
||||||
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
||||||
};
|
};
|
||||||
|
|
||||||
private _onEncryptionChange = async (e: React.ChangeEvent) => {
|
private onEncryptionChange = async (e: React.ChangeEvent) => {
|
||||||
if (this.state.joinRule == "public") {
|
if (this.state.joinRule == "public") {
|
||||||
const {finished} = Modal.createTrackedDialog('Confirm Public Encrypted Room', '', QuestionDialog, {
|
const {finished} = Modal.createTrackedDialog('Confirm Public Encrypted Room', '', QuestionDialog, {
|
||||||
title: _t('Enable encryption in a public room?'),
|
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 (
|
if (
|
||||||
this.state.encrypted &&
|
this.state.encrypted &&
|
||||||
this.state.joinRule != "public" &&
|
this.state.joinRule != "public" &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue