]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-idle.c
Don't set NM presence state on connect when it was unset
[empathy.git] / libempathy / empathy-idle.c
index dbc1473e8510a5f4bf91cb488575c3a81b4260c0..92ab9f39f785d326ae6f5a5f1e5e0a198bb2ffbb 100644 (file)
@@ -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;
        }