Always show timestamp after unread indicator

// FREEBIE
pull/1/head
Michael Kirk 8 years ago committed by Matthew Chen
parent bef3a56e50
commit c6cd0bbcae

@ -1835,6 +1835,11 @@ typedef enum : NSUInteger {
id<OWSMessageData> previousMessage =
[self messageAtIndexPath:[NSIndexPath indexPathForItem:indexPath.row - 1 inSection:indexPath.section]];
if ([previousMessage.interaction isKindOfClass:[TSUnreadIndicatorInteraction class]]) {
// Always show timestamp between unread indicator and the following interaction
return YES;
}
OWSAssert(currentMessage.date);
OWSAssert(previousMessage.date);
NSTimeInterval timeDifference = [currentMessage.date timeIntervalSinceDate:previousMessage.date];

Loading…
Cancel
Save