Update MXKRoomBubbleTableViewCell.

This commit is contained in:
SBiOSoftWhare
2022-01-31 10:41:44 +01:00
parent e73fedfef5
commit 82f236b01c
@@ -1071,10 +1071,7 @@ static BOOL _disableLongPressGestureOnEvent;
- (BOOL)isBubbleDataContainsFileAttachment
{
return bubbleData.attachment
&& (bubbleData.attachment.type == MXKAttachmentTypeFile || bubbleData.attachment.type == MXKAttachmentTypeAudio || bubbleData.attachment.type == MXKAttachmentTypeVoiceMessage)
&& bubbleData.attachment.contentURL
&& bubbleData.attachment.contentInfo;
return bubbleData.isAttachment;
}
- (MXKRoomBubbleComponent*)closestBubbleComponentForGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer locationInView:(UIView*)view