support lightboxes for image previews
This commit is contained in:
parent
0eb7b627fc
commit
96b0f42db2
3 changed files with 29 additions and 2 deletions
|
@ -451,7 +451,7 @@ module.exports = React.createClass({
|
|||
onMemberAvatarClick: function () {
|
||||
var avatarUrl = this.props.member.user.avatarUrl;
|
||||
if(!avatarUrl) return;
|
||||
|
||||
|
||||
var httpUrl = MatrixClientPeg.get().mxcUrlToHttp(avatarUrl);
|
||||
var ImageView = sdk.getComponent("elements.ImageView");
|
||||
var params = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue