open ImageView when clicking on a set avatar
This commit is contained in:
parent
9fa2680dc6
commit
5ab98e9899
4 changed files with 26 additions and 3 deletions
|
@ -162,6 +162,7 @@ export default class RoomProfileSettings extends React.Component {
|
|||
</div>
|
||||
<AvatarSetting
|
||||
avatarUrl={this.state.avatarUrl}
|
||||
avatarName={this.state.displayName || this.props.roomId}
|
||||
avatarAltText={_t("Room avatar")}
|
||||
uploadAvatar={this.state.canSetAvatar ? this._uploadAvatar : undefined}
|
||||
removeAvatar={this.state.canSetAvatar ? this._removeAvatar : undefined} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue