aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-25 01:43:04 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-25 01:43:04 +0800
commitdb8e44564590cc422920d83ed80fda900400abc0 (patch)
tree253c5b99be6705417271bb2aea76f9ce1d1290a1 /libempathy
parent2b0b994dca5c7fe90f26befab4fd01d92908edef (diff)
downloadgsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar.gz
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar.bz2
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar.lz
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar.xz
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.tar.zst
gsoc2013-empathy-db8e44564590cc422920d83ed80fda900400abc0.zip
Fallback to setting the global presence to offline if no account has a better presence.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 20facd379..75de6f193 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -183,6 +183,7 @@ emp_account_manager_update_global_presence (EmpathyAccountManager *manager)
if (account == NULL)
{
+ priv->global_presence = presence;
priv->global_status = NULL;
priv->global_status_message = NULL;
return;