1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-16 06:42:26 +03:00

Remove unnecessary async

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-02-28 09:54:05 +01:00
parent 5a55b0dcf0
commit 24428783f5

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" &&