Remove unnecessary async

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-28 09:54:05 +01:00
parent 5a55b0dcf0
commit 24428783f5
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ export default class SecurityRoomSettingsTab extends React.Component {
});
}
_onRoomAccessRadioToggle = async (roomAccess) => {
_onRoomAccessRadioToggle = (roomAccess) => {
if (
this.state.encrypted &&
this.state.joinRule != "public" &&