diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-22 22:45:12 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-22 22:45:12 +0800 |
commit | cde7b1953a9c430946af7152fb72bbaf3e1d4a95 (patch) | |
tree | 016e2711e1d050ffe7933dd09e87aa8ebacf5007 | |
parent | 69989d77d169f08d9d5d702cd22f3cda4c2b2ce2 (diff) | |
parent | ae4ef5575fbf5fc20753bbcfb8d7e8b1feff858b (diff) | |
download | gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar.gz gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar.bz2 gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar.lz gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar.xz gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.tar.zst gsoc2013-empathy-cde7b1953a9c430946af7152fb72bbaf3e1d4a95.zip |
Merge branch 'status-icon-586645'
-rw-r--r-- | libempathy/empathy-idle.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c index c72307920..9ab6f807d 100644 --- a/libempathy/empathy-idle.c +++ b/libempathy/empathy-idle.c @@ -91,6 +91,10 @@ idle_presence_changed_cb (MissionControl *mc, priv = GET_PRIV (idle); + if (state == TP_CONNECTION_PRESENCE_TYPE_UNSET) + /* Assume our presence is offline if MC reports UNSET */ + state = TP_CONNECTION_PRESENCE_TYPE_OFFLINE; + DEBUG ("Presence changed to '%s' (%d)", status, state); g_free (priv->status); |