Merge pull request #5461 from vector-im/steve/5209_media_bubbles_2

Message bubbles: Layout for media (part 2)
This commit is contained in:
SBiOSoftWhare
2022-02-01 17:52:19 +01:00
committed by GitHub
58 changed files with 1377 additions and 138 deletions
@@ -1069,10 +1069,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