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 "UIContactCell.h"
#import "Utils.h" #import "ContactsListTableView.h"
#import "FastAddressBook.h" #import "FastAddressBook.h"
#import "UILabel+Boldify.h" #import "UILabel+Boldify.h"
#import "Utils.h"
@implementation UIContactCell @implementation UIContactCell
@ -67,7 +68,14 @@
return; 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 #pragma mark - Property Functions

View file

@ -16,7 +16,7 @@
</section> </section>
<section name="sip"> <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>
<section name="assistant"> <section name="assistant">

View file

@ -16,7 +16,7 @@
</section> </section>
<section name="sip"> <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>
<section name="assistant"> <section name="assistant">

View file

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