Merge tag '2.31.0.39' into release/2.32.0
This commit is contained in:
commit
f7df229fc0
@ -649,6 +649,10 @@ NSString *const TSAccountManager_NeedsAccountAttributesUpdateKey = @"TSAccountMa
|
||||
}
|
||||
|
||||
- (AnyPromise *)updateAccountAttributesIfNecessary {
|
||||
if (!self.isRegistered) {
|
||||
return [AnyPromise promiseWithValue:@(1)];
|
||||
}
|
||||
|
||||
NSDate *_Nullable updateRequestDate =
|
||||
[self.dbConnection objectForKey:TSAccountManager_NeedsAccountAttributesUpdateKey
|
||||
inCollection:TSAccountManager_UserAccountCollection];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user