Remove unnecessary async
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
5a55b0dcf0
commit
24428783f5
|
@ -210,7 +210,7 @@ export default class SecurityRoomSettingsTab extends React.Component {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_onRoomAccessRadioToggle = async (roomAccess) => {
|
_onRoomAccessRadioToggle = (roomAccess) => {
|
||||||
if (
|
if (
|
||||||
this.state.encrypted &&
|
this.state.encrypted &&
|
||||||
this.state.joinRule != "public" &&
|
this.state.joinRule != "public" &&
|
||||||
|
|
Loading…
Reference in New Issue