[Telepathy-commits] [telepathy-sofiasip/master] Initialize TpsipConnection's account_url from the contact handle repo URL
Mikhail Zabaluev
mikhail.zabaluev at nokia.com
Tue Oct 7 06:45:12 PDT 2008
---
src/sip-connection-private.h | 2 +-
src/sip-connection.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sip-connection-private.h b/src/sip-connection-private.h
index 2362927..74f4487 100644
--- a/src/sip-connection-private.h
+++ b/src/sip-connection-private.h
@@ -33,7 +33,7 @@ struct _TpsipConnectionPrivate
su_home_t *sofia_home;
nua_handle_t *register_op;
sres_resolver_t *sofia_resolver;
- url_t *account_url;
+ const url_t *account_url;
url_t *proxy_url;
url_t *registrar_url;
diff --git a/src/sip-connection.c b/src/sip-connection.c
index 895d968..bfff378 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -1078,7 +1078,7 @@ tpsip_connection_start_connecting (TpBaseConnection *base,
DEBUG("self_handle = %d, sip_address = %s", base->self_handle, sip_address);
- priv->account_url = url_make (priv->sofia_home, sip_address);
+ priv->account_url = tpsip_conn_get_contact_url (self, base->self_handle);
if (priv->account_url == NULL)
{
g_set_error (error, TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
--
1.5.6.5
More information about the Telepathy-commits
mailing list