[telepathy-mission-control/master] McdConnection: when a connection dies, don't unset the RequestedPresence
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Jun 3 10:39:35 PDT 2009
This appears to be a remnant of having the McdConnection not be in control
of attempts to reconnect (as it now is).
---
src/mcd-connection.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index ae86f01..78a4213 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -941,14 +941,6 @@ on_connection_status_changed (TpConnection *tp_conn, GParamSpec *pspec,
* will hold a temporary ref to it.
*/
priv->abort_reason = conn_reason;
-
- if (conn_reason != TP_CONNECTION_STATUS_REASON_REQUESTED &&
- conn_reason != TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED)
- {
- mcd_account_request_presence (priv->account,
- TP_CONNECTION_PRESENCE_TYPE_UNSET,
- NULL, NULL);
- }
break;
default:
--
1.5.6.5
More information about the telepathy-commits
mailing list