aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-connectivity.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index b65421664..c6551ae5c 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -383,14 +383,7 @@ empathy_connectivity_is_online (EmpathyConnectivity *connectivity)
{
EmpathyConnectivityPriv *priv = GET_PRIV (connectivity);
- if (priv->use_conn)
- {
- return priv->connected;
- }
- else
- {
- return TRUE;
- }
+ return priv->connected;
}
gboolean