Revert height computation for now.

This commit is contained in:
Doug
2021-09-08 15:59:30 +01:00
parent 173b22822c
commit b7ed2d6d58
6 changed files with 70 additions and 6 deletions
@@ -527,12 +527,6 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
{
CGFloat additionalVerticalHeight = 0;
// Add vertical whitespace in case of a URL preview.
if (RiotSettings.shared.roomScreenShowsURLPreviews && self.showURLPreview)
{
additionalVerticalHeight += RoomBubbleCellLayout.urlPreviewViewTopMargin + [URLPreviewView contentViewHeightFor:self.urlPreviewData];
}
// Add vertical whitespace in case of reactions.
additionalVerticalHeight+= [self reactionHeightForEventId:eventId];
// Add vertical whitespace in case of read receipts.