Always show timestamp after unread indicator
// FREEBIE
This commit is contained in:
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…
Reference in New Issue
Block a user