From 4a21e876256b8857cc30429b6dde0b0ae35e68d6 Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Thu, 7 Oct 2021 10:57:24 +1100 Subject: [PATCH] minor fix on conversation ordering --- SessionMessagingKit/Threads/TSThread.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SessionMessagingKit/Threads/TSThread.m b/SessionMessagingKit/Threads/TSThread.m index 943709c2a..3100e5955 100644 --- a/SessionMessagingKit/Threads/TSThread.m +++ b/SessionMessagingKit/Threads/TSThread.m @@ -359,11 +359,12 @@ BOOL IsNoteToSelfEnabled(void) if ([_lastInteractionDate compare: lastMessage.receivedAtDate] == NSOrderedAscending) { _lastInteractionDate = lastMessage.receivedAtDate; + [super saveWithTransaction:transaction]; } if (!self.shouldBeVisible) { self.shouldBeVisible = YES; - [self saveWithTransaction:transaction]; + [super saveWithTransaction:transaction]; } else { [self touchWithTransaction:transaction]; }