Add UI for changing room avatars and update UI when room avatars change
This commit is contained in:
parent
e844b7aa21
commit
5392afdec4
3 changed files with 14 additions and 3 deletions
|
@ -44,8 +44,8 @@ module.exports = React.createClass({
|
|||
|
||||
render: function() {
|
||||
var style = {
|
||||
'max-width': this.props.width,
|
||||
'max-height': this.props.height,
|
||||
maxWidth: this.props.width,
|
||||
maxHeight: this.props.height,
|
||||
};
|
||||
return (
|
||||
<img className="mx_RoomAvatar" src={this.state.imageUrl} onError={this.onError}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue