Merge pull request #74 from RyanRory/message-ordering

Message ordering by sender's timestamp
pull/82/head
gmbnt 6 years ago committed by GitHub
commit 2945356222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -188,8 +188,12 @@ NSString *NSStringFromOWSInteractionType(OWSInteractionType value)
{
OWSAssertDebug(other);
uint64_t sortId1 = self.sortId;
uint64_t sortId2 = other.sortId;
// uint64_t sortId1 = self.sortId;
// uint64_t sortId2 = other.sortId;
//Loki - Sort the messages by sender's timestamp
uint64_t sortId1 = self.timestamp;
uint64_t sortId2 = other.timestamp;
if (sortId1 > sortId2) {
return NSOrderedDescending;

Loading…
Cancel
Save