mirror of https://github.com/vector-im/riot-web
Fix avatars
parent
867b47f4a2
commit
971f7ad045
|
@ -72,8 +72,8 @@ module.exports = React.createClass({
|
|||
} else if (this.state.summary) {
|
||||
const summary = this.state.summary;
|
||||
let avatarUrl = null;
|
||||
if (summary.profile.avatarUrl) {
|
||||
avatarUrl = MatrixClientPeg.get().mxcUrlToHttp(summary.profile.avatarUrl);
|
||||
if (summary.profile.avatar_url) {
|
||||
avatarUrl = MatrixClientPeg.get().mxcUrlToHttp(summary.profile.avatar_url);
|
||||
}
|
||||
let description = null;
|
||||
if (summary.profile.long_description) {
|
||||
|
|
Loading…
Reference in New Issue