diff options
Diffstat (limited to 'libempathy/empathy-idle.c')
-rw-r--r-- | libempathy/empathy-idle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c index 42719a47e..6b9cfb3b9 100644 --- a/libempathy/empathy-idle.c +++ b/libempathy/empathy-idle.c @@ -154,6 +154,7 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy, /* We are now idle, set state to away */ priv->saved_state = mission_control_get_presence_actual (priv->mc, NULL); + priv->saved_status = mission_control_get_presence_message_actual (priv->mc, NULL); if (priv->saved_state <= MC_PRESENCE_OFFLINE || priv->saved_state == MC_PRESENCE_HIDDEN) { @@ -168,8 +169,6 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy, priv->saved_status = NULL; } - priv->saved_status = mission_control_get_presence_message_actual (priv->mc, NULL); - gossip_debug (DEBUG_DOMAIN, "Going to autoaway"); mission_control_set_presence (priv->mc, new_state, |