Skip to content

Commit

Permalink
[FIX] Disable delete and other message actions on jitsi call button
Browse files Browse the repository at this point in the history
  • Loading branch information
try-catch-stack committed Feb 8, 2022
1 parent 2d1b093 commit b33405e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/containers/message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const MessageTouchable = React.memo((props: IMessageTouchable & IMessage) => {
<Touchable
onLongPress={onLongPress}
onPress={onPress}
disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp}
disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp || props.type === 'jitsi_call_started'}
style={{ backgroundColor: props.highlighted ? themes[props.theme].headerBackground : null }}>
<View>
<Message {...props} />
Expand Down

0 comments on commit b33405e

Please sign in to comment.