mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-17 02:11:45 +03:00
Remove unnecessary async
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5a55b0dcf0
commit
24428783f5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue