mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
make sure presence dialog ref op
This commit is contained in:
parent
86ba23e486
commit
cd14f216c0
2 changed files with 3 additions and 1 deletions
|
|
@ -493,9 +493,11 @@ static void presence_process_request_event(void *op_base, const belle_sip_reques
|
|||
if (op->pending_server_trans) belle_sip_object_unref(op->pending_server_trans);
|
||||
op->pending_server_trans=server_transaction;
|
||||
|
||||
|
||||
if (!op->dialog) {
|
||||
op->dialog=belle_sip_provider_create_dialog(op->base.root->prov,BELLE_SIP_TRANSACTION(server_transaction));
|
||||
belle_sip_dialog_set_application_data(op->dialog,op);
|
||||
sal_op_ref(op);
|
||||
ms_message("new incoming subscription from [%s] to [%s]",sal_op_get_from(op),sal_op_get_to(op));
|
||||
}
|
||||
dialog_state=belle_sip_dialog_get_state(op->dialog);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 3acaa7372423ffb0d18923e9e41e1076cec51905
|
||||
Subproject commit 2720ab1d1568ced6f0bf63e454a35f340d8ace64
|
||||
Loading…
Add table
Reference in a new issue