Fixed some avatar stuff

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-22 09:29:35 +01:00
parent 15d10042ee
commit 48cfd3f9da
2 changed files with 2 additions and 1 deletions

View file

@ -62,6 +62,7 @@ export default class RoomProfileSettings extends React.Component {
}
_uploadAvatar = () => {
if (!this.state.canSetAvatar) return;
this._avatarUpload.current.click();
};