|
|
@ -21,6 +21,7 @@ BOOL IsNoteToSelfEnabled(void)
|
|
|
|
@interface TSThread ()
|
|
|
|
@interface TSThread ()
|
|
|
|
|
|
|
|
|
|
|
|
@property (nonatomic) NSDate *creationDate;
|
|
|
|
@property (nonatomic) NSDate *creationDate;
|
|
|
|
|
|
|
|
@property (nonatomic, nullable) NSDate *lastInteractionDate;
|
|
|
|
@property (nonatomic, nullable) NSNumber *archivedAsOfMessageSortId;
|
|
|
|
@property (nonatomic, nullable) NSNumber *archivedAsOfMessageSortId;
|
|
|
|
@property (nonatomic, copy, nullable) NSString *messageDraft;
|
|
|
|
@property (nonatomic, copy, nullable) NSString *messageDraft;
|
|
|
|
@property (atomic, nullable) NSDate *mutedUntilDate;
|
|
|
|
@property (atomic, nullable) NSDate *mutedUntilDate;
|
|
|
@ -356,6 +357,8 @@ BOOL IsNoteToSelfEnabled(void)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_lastInteractionDate = lastMessage.receivedAtDate;
|
|
|
|
|
|
|
|
|
|
|
|
if (!self.shouldBeVisible) {
|
|
|
|
if (!self.shouldBeVisible) {
|
|
|
|
self.shouldBeVisible = YES;
|
|
|
|
self.shouldBeVisible = YES;
|
|
|
|
[self saveWithTransaction:transaction];
|
|
|
|
[self saveWithTransaction:transaction];
|
|
|
|