-
{ _t("Admin Tools") }
-
-
- { kickButton }
- { adminButton }
-
-
;
- }
-
- const avatarUrl = this.props.matrixClient.mxcUrlToHttp(
+ const avatarUrl = this.context.matrixClient.mxcUrlToHttp(
this.props.groupMember.avatarUrl,
36, 36, 'crop',
);
@@ -192,4 +194,4 @@ module.exports = withMatrixClient(React.createClass({
);
},
-}));
+});