pull/715/head
Audric Ackermann 5 years ago
parent 86e39ce4e2
commit ab862dbecf

@ -260,7 +260,7 @@
window.Whisper.events.trigger('onShowUserDetails', { window.Whisper.events.trigger('onShowUserDetails', {
userPubKey: pubkey, userPubKey: pubkey,
}); });
} else if (!this.model.isRss()){ } else if (!this.model.isRss()) {
this.showGroupSettings(); this.showGroupSettings();
} }
}, },
@ -1366,9 +1366,9 @@
className: 'lightbox-wrapper', className: 'lightbox-wrapper',
Component: Signal.Components.LightboxGallery, Component: Signal.Components.LightboxGallery,
props: { props: {
media, media,
onSave: () => this.downloadAttachment({ attachment, message }), onSave: () => this.downloadAttachment({ attachment, message }),
selectedIndex, selectedIndex,
}, },
onClose: () => Signal.Backbone.Views.Lightbox.hide(), onClose: () => Signal.Backbone.Views.Lightbox.hide(),
}); });

@ -153,10 +153,12 @@ export class SessionChannelSettings extends React.Component<Props, any> {
break; break;
} }
case 'media': { case 'media': {
const lightBoxOptions = { const lightBoxOptions = {
media, attachment, message, media,
}; attachment,
message,
};
this.onShowLightBox(lightBoxOptions); this.onShowLightBox(lightBoxOptions);
break; break;
} }
@ -167,9 +169,9 @@ export class SessionChannelSettings extends React.Component<Props, any> {
}; };
return { return {
media, media,
documents, documents,
onItemClick, onItemClick,
}; };
} }

Loading…
Cancel
Save