Commit 514e73c7 authored by Prateek Jain's avatar Prateek Jain Committed by Diego Mello
Browse files

[FIX] Show attachment on ThreadMessagesView (#1493)

parent 71bcef15
......@@ -253,6 +253,11 @@ class ThreadMessagesView extends React.Component {
return null;
}
showAttachment = (attachment) => {
const { navigation } = this.props;
navigation.navigate('AttachmentView', { attachment });
}
onThreadPress = debounce((item) => {
const { navigation } = this.props;
navigation.push('RoomView', {
......@@ -307,6 +312,7 @@ class ThreadMessagesView extends React.Component {
useRealName={useRealName}
getCustomEmoji={this.getCustomEmoji}
navToRoomInfo={this.navToRoomInfo}
showAttachment={this.showAttachment}
/>
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment