reload contactsListTableView when presence updated to have an up to date list

This commit is contained in:
Benjamin Reis 2016-11-21 14:47:04 +01:00
parent f27f1de1ee
commit bcd3d463cd
4 changed files with 13 additions and 5 deletions

View file

@ -18,9 +18,10 @@
*/
#import "UIContactCell.h"
#import "Utils.h"
#import "ContactsListTableView.h"
#import "FastAddressBook.h"
#import "UILabel+Boldify.h"
#import "Utils.h"
@implementation UIContactCell
@ -67,7 +68,14 @@
return;
}
}
[self setContact:_contact];
id view = [self superview];
while (view && [view isKindOfClass:[UITableView class]] == NO) {
view = [view superview];
}
UITableView *tableView = (UITableView *)view;
[(ContactsListTableView *)tableView.dataSource loadData];
}
#pragma mark - Property Functions

View file

@ -16,7 +16,7 @@
</section>
<section name="sip">
<entry name="rls_uri" overwrite="true">sip:rls@sip.linphone.org</entry>
<entry name="rls_uri" overwrite="true">sips:rls@sip.linphone.org</entry>
</section>
<section name="assistant">

View file

@ -16,7 +16,7 @@
</section>
<section name="sip">
<entry name="rls_uri" overwrite="true">sip:rls@sip.linphone.org</entry>
<entry name="rls_uri" overwrite="true">sips:rls@sip.linphone.org</entry>
</section>
<section name="assistant">

View file

@ -53,7 +53,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>5</string>
<key>ITSAppUsesNonExemptEncryption</key>
<true/>
<key>ITSEncryptionExportComplianceCode</key>