1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Fix references to 'this' in Avatar and Unread

This commit is contained in:
Travis Ralston
2020-01-03 12:32:29 -07:00
parent 4aec432b30
commit 206d4c78d2
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export function avatarUrlForMember(member, width, height, resizeMethod) {
// member can be null here currently since on invites, the JS SDK
// does not have enough info to build a RoomMember object for
// the inviter.
url = this.defaultAvatarUrlForString(member ? member.userId : '');
url = defaultAvatarUrlForString(member ? member.userId : '');
}
return url;
}