Add more docs and comments.

Rename store.store(_:) to store.cache(_:).
This commit is contained in:
Doug
2021-09-08 09:51:47 +01:00
parent bb98bbe1c0
commit 0f88e8e851
5 changed files with 64 additions and 27 deletions
@@ -1216,6 +1216,8 @@ const CGFloat kTypingCellHeight = 24;
- (void)didOpenURLFromPreviewView:(URLPreviewView *)previewView for:(NSString *)eventID in:(NSString *)roomID
{
// Use the link stored in the bubble component when opening the URL as we only
// store the sanitized URL in the preview data which may differ to the message content.
RoomBubbleCellData *cellData = [self cellDataOfEventWithEventId:eventID];
if (!cellData)