forked from mirrors/linphone-iphone
update chatListsView when we are invited in a new chat room
This commit is contained in:
parent
3056822241
commit
41253672a6
2 changed files with 6 additions and 1 deletions
|
|
@ -1400,6 +1400,10 @@ static void linphone_iphone_call_encryption_changed(LinphoneCore *lc, LinphoneCa
|
|||
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallEncryptionChanged object:self userInfo:dict];
|
||||
}
|
||||
|
||||
void linphone_iphone_chatroom_instantiated(LinphoneCore *lc, LinphoneChatRoom *cr) {
|
||||
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:nil];
|
||||
}
|
||||
|
||||
#pragma mark - Message composition start
|
||||
- (void)alertLIME:(LinphoneChatRoom *)room {
|
||||
NSString *title = NSLocalizedString(@"LIME warning", nil);
|
||||
|
|
@ -1963,6 +1967,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
linphone_core_cbs_set_global_state_changed(cbs, linphone_iphone_global_state_changed);
|
||||
linphone_core_cbs_set_notify_received(cbs, linphone_iphone_notify_received);
|
||||
linphone_core_cbs_set_call_encryption_changed(cbs, linphone_iphone_call_encryption_changed);
|
||||
linphone_core_cbs_set_chat_room_instantiated(cbs, linphone_iphone_chatroom_instantiated);
|
||||
linphone_core_cbs_set_user_data(cbs, (__bridge void *)(self));
|
||||
|
||||
theLinphoneCore = linphone_factory_create_core_with_config(factory, cbs, _configDb);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d111d78f71114d0ec0ba01af93a344c1d318cf59
|
||||
Subproject commit 7c2ce9d173e100d84afb5fb5ef90189a787ddb8d
|
||||
Loading…
Add table
Reference in a new issue