Report MXKContactManager update.

This commit is contained in:
giomfo 2015-06-09 18:06:57 +02:00
parent dab9a274f3
commit cf0e6f1080
3 changed files with 5 additions and 6 deletions

View file

@ -21,7 +21,6 @@ pod 'MatrixKit', :git => 'https://github.com/matrix-org/matrix-ios-kit.git', :br
# Note that MatrixSDK must be cloned into a folder called matrix-ios-sdk next to the MatrixKit folder
#pod 'MatrixKit', :path => '../matrix-ios-kit/MatrixKit.podspec'
#pod 'MatrixSDK', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
#pod 'libPhoneNumber-iOS', '~> 0.7.6'
pod 'GBDeviceInfo', '~> 2.2.9'

View file

@ -252,8 +252,8 @@
}
// refresh the contacts list
[MXKContactManager sharedManager].enableFullMatrixIdSyncOnContactsDidLoad = NO;
[[MXKContactManager sharedManager] loadContacts];
[MXKContactManager sharedManager].enableFullMatrixIdSyncOnLocalContactsDidLoad = NO;
[[MXKContactManager sharedManager] loadLocalContacts];
_isAppForeground = YES;

View file

@ -50,10 +50,8 @@ NSString *const kInvitationMessage = @"I'd like to chat with you with matrix. Pl
self.delegate = self;
}
- (void)reset
- (void)destroy
{
[super reset];
if (self.startChatMenu)
{
[self.startChatMenu dismiss:NO];
@ -64,6 +62,8 @@ NSString *const kInvitationMessage = @"I'd like to chat with you with matrix. Pl
}
selectedContact = nil;
[super destroy];
}
#pragma mark - Actions