Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2

pull/560/head
ryanzhao 4 years ago
commit 82e11fb116

@ -359,11 +359,12 @@ BOOL IsNoteToSelfEnabled(void)
if ([_lastInteractionDate compare: lastMessage.receivedAtDate] == NSOrderedAscending) { if ([_lastInteractionDate compare: lastMessage.receivedAtDate] == NSOrderedAscending) {
_lastInteractionDate = lastMessage.receivedAtDate; _lastInteractionDate = lastMessage.receivedAtDate;
[super saveWithTransaction:transaction];
} }
if (!self.shouldBeVisible) { if (!self.shouldBeVisible) {
self.shouldBeVisible = YES; self.shouldBeVisible = YES;
[self saveWithTransaction:transaction]; [super saveWithTransaction:transaction];
} else { } else {
[self touchWithTransaction:transaction]; [self touchWithTransaction:transaction];
} }

Loading…
Cancel
Save