diff options
-rw-r--r-- | src/gabble-connection.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gabble-connection.c b/src/gabble-connection.c index b4232ae52..17d73c4ea 100644 --- a/src/gabble-connection.c +++ b/src/gabble-connection.c @@ -1805,10 +1805,6 @@ connection_open_cb (LmConnection *lmconn, connection_status_change (conn, TP_CONN_STATUS_DISCONNECTED, TP_CONN_STATUS_REASON_NETWORK_ERROR); } - else - { - connection_status_change (conn, TP_CONN_STATUS_CONNECTED, TP_CONN_STATUS_REASON_REQUESTED); - } } /** @@ -1842,6 +1838,9 @@ connection_auth_cb (LmConnection *lmconn, return; } + /* go go gadget on-line */ + connection_status_change (conn, TP_CONN_STATUS_CONNECTED, TP_CONN_STATUS_REASON_REQUESTED); + /* send presence to the server to indicate availability */ if (!signal_own_presence (conn, &error)) { |