[Telepathy-commits] [telepathy-salut/master] change connection status to disconnected if salut_muc_manager_start failed
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Nov 26 04:35:17 PST 2008
---
src/salut-connection.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/salut-connection.c b/src/salut-connection.c
index 2b374f3..49d05cf 100644
--- a/src/salut-connection.c
+++ b/src/salut-connection.c
@@ -888,7 +888,9 @@ _self_established_cb (SalutSelf *s, gpointer data)
if (!salut_muc_manager_start (priv->muc_manager, NULL))
{
- /* XXX handle error */
+ tp_base_connection_change_status ( TP_BASE_CONNECTION (base),
+ TP_CONNECTION_STATUS_DISCONNECTED,
+ TP_CONNECTION_STATUS_REASON_NETWORK_ERROR);
return;
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list