Fix missing getAvatarUrlForMember

This commit is contained in:
Kegan Dougal 2015-10-20 11:49:15 +01:00
parent 137439243a
commit c74f7c956f

View File

@ -20,8 +20,8 @@ var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg');
module.exports = {
avatarUrlForMember: function(member, width, height, resizeMethod) {
var url = MatrixClientPeg.get().getAvatarUrlForMember(
member,
var url = member.getAvatarUrl(
MatrixClientPeg.get().getHomeserverUrl(),
width,
height,
resizeMethod