Unverified Commit cecffdb9 authored by Anant Bhasin's avatar Anant Bhasin Committed by GitHub
Browse files

[IMPROVE] Deleted thread reply redirects to thread (#2840)


Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent 1f6385c8
...@@ -119,7 +119,7 @@ const MessageTouchable = React.memo((props) => { ...@@ -119,7 +119,7 @@ const MessageTouchable = React.memo((props) => {
<Touchable <Touchable
onLongPress={onLongPress} onLongPress={onLongPress}
onPress={onPress} onPress={onPress}
disabled={props.isInfo || props.archived || props.isTemp} disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp}
> >
<View> <View>
<Message {...props} /> <Message {...props} />
...@@ -132,6 +132,7 @@ MessageTouchable.displayName = 'MessageTouchable'; ...@@ -132,6 +132,7 @@ MessageTouchable.displayName = 'MessageTouchable';
MessageTouchable.propTypes = { MessageTouchable.propTypes = {
hasError: PropTypes.bool, hasError: PropTypes.bool,
isInfo: PropTypes.bool, isInfo: PropTypes.bool,
isThreadReply: PropTypes.bool,
isTemp: PropTypes.bool, isTemp: PropTypes.bool,
archived: PropTypes.bool archived: PropTypes.bool
}; };
......
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