aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-idle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index dbc1473e8..92ab9f39f 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -230,7 +230,8 @@ idle_nm_state_change_cb (DBusGProxy *proxy,
priv = GET_PRIV (idle);
- if (!priv->use_nm) {
+ if (!priv->use_nm
+ || priv->nm_saved_state == TP_CONNECTION_PRESENCE_TYPE_UNSET) {
return;
}