]> git.0d.be Git - empathy.git/commitdiff
Fallback to setting the global presence to offline if no account has a better presence.
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Mon, 24 Aug 2009 17:43:04 +0000 (18:43 +0100)
committerJonny Lamb <jonny.lamb@collabora.co.uk>
Mon, 24 Aug 2009 17:43:04 +0000 (18:43 +0100)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
libempathy/empathy-account-manager.c

index 20facd37981bfc74040ae9e1e89a89cd97bedb06..75de6f19342bd02247f7769bd8825c195cec1982 100644 (file)
@@ -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;