mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix IPAD go to chat view from CallView or HistoryDetailsView
This commit is contained in:
parent
92815c79cf
commit
8cc619da3b
2 changed files with 3 additions and 0 deletions
|
|
@ -774,6 +774,7 @@ static void hideSpinner(LinphoneCall *call, void *user_data) {
|
|||
const LinphoneCall *currentCall = linphone_core_get_current_call(LC);
|
||||
const LinphoneAddress *addr = currentCall ? linphone_call_get_remote_address(currentCall) : NULL;
|
||||
// TODO encrpted or unencrpted
|
||||
[LinphoneManager.instance lpConfigSetBool:TRUE forKey:@"create_chat"];
|
||||
[PhoneMainView.instance getOrCreateOneToOneChatRoom:addr waitView:_waitView isEncrypted:FALSE];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -210,11 +210,13 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
- (IBAction)onChatClick:(id)event {
|
||||
const LinphoneAddress *addr = linphone_call_log_get_remote_address(callLog);
|
||||
[LinphoneManager.instance lpConfigSetBool:TRUE forKey:@"create_chat"];
|
||||
[PhoneMainView.instance getOrCreateOneToOneChatRoom:addr waitView:_waitView isEncrypted:FALSE];
|
||||
}
|
||||
|
||||
- (IBAction)onEncryptedChatClick:(id)sender {
|
||||
const LinphoneAddress *addr = linphone_call_log_get_remote_address(callLog);
|
||||
[LinphoneManager.instance lpConfigSetBool:TRUE forKey:@"create_chat"];
|
||||
[PhoneMainView.instance getOrCreateOneToOneChatRoom:addr waitView:_waitView isEncrypted:TRUE];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue