[telepathy-mission-control/master] Always process online requests.

Alberto Mardegan alberto.mardegan at nokia.com
Thu Aug 20 06:10:37 PDT 2009


The transition DISCONNECTED -> DISCONNECTED should also trigger the completion
of online requests.
---
 src/mcd-account.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index 8dac309..6282677 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -2724,8 +2724,6 @@ on_conn_status_changed (McdConnection *connection,
 				      &value);
 	g_value_unset (&value);
 	changed = TRUE;
-
-	process_online_requests (account, status, reason);
     }
     if (reason != priv->conn_reason)
     {
@@ -2739,6 +2737,8 @@ on_conn_status_changed (McdConnection *connection,
 	changed = TRUE;
     }
 
+    process_online_requests (account, status, reason);
+
     if (changed)
 	g_signal_emit (account,
 		       _mcd_account_signals[CONNECTION_STATUS_CHANGED], 0,
-- 
1.5.6.5




More information about the telepathy-commits mailing list