Merge branch 'release/2.32.0'

This commit is contained in:
Matthew Chen 2018-11-19 14:49:59 -05:00
commit 88026be429
2 changed files with 5 additions and 1 deletions

2
Pods

@ -1 +1 @@
Subproject commit 0cadc4ccc8fb8ec7317b1d570a4e8267939b318f
Subproject commit 95badd82b9f1c193b729617d00db0b71ead8eacf

View file

@ -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];