From c74f7c956f9b62d4c1ea5d919ec6ab2bcd8b848d Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 20 Oct 2015 11:49:15 +0100 Subject: [PATCH] Fix missing getAvatarUrlForMember --- src/Avatar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avatar.js b/src/Avatar.js index 8de29f1d..afc5e9dd 100644 --- a/src/Avatar.js +++ b/src/Avatar.js @@ -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