Fix missing getAvatarUrlForMember
This commit is contained in:
parent
137439243a
commit
c74f7c956f
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
avatarUrlForMember: function(member, width, height, resizeMethod) {
|
avatarUrlForMember: function(member, width, height, resizeMethod) {
|
||||||
var url = MatrixClientPeg.get().getAvatarUrlForMember(
|
var url = member.getAvatarUrl(
|
||||||
member,
|
MatrixClientPeg.get().getHomeserverUrl(),
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
resizeMethod
|
resizeMethod
|
||||||
|
|
Loading…
Reference in a new issue