You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Fix avatars
This commit is contained in:
@@ -72,8 +72,8 @@ module.exports = React.createClass({
|
|||||||
} else if (this.state.summary) {
|
} else if (this.state.summary) {
|
||||||
const summary = this.state.summary;
|
const summary = this.state.summary;
|
||||||
let avatarUrl = null;
|
let avatarUrl = null;
|
||||||
if (summary.profile.avatarUrl) {
|
if (summary.profile.avatar_url) {
|
||||||
avatarUrl = MatrixClientPeg.get().mxcUrlToHttp(summary.profile.avatarUrl);
|
avatarUrl = MatrixClientPeg.get().mxcUrlToHttp(summary.profile.avatar_url);
|
||||||
}
|
}
|
||||||
let description = null;
|
let description = null;
|
||||||
if (summary.profile.long_description) {
|
if (summary.profile.long_description) {
|
||||||
|
|||||||
Reference in New Issue
Block a user