You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-22 18:41:57 +03:00
Fix avatars
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user