mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix missing getAvatarUrlForMember
This commit is contained in:
parent
137439243a
commit
c74f7c956f
@ -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 New Issue
Block a user