[empathy/mc5] Fallback to setting the global presence to offline if no account has a better presence.



commit db8e44564590cc422920d83ed80fda900400abc0
Author: Jonny Lamb <jonny lamb collabora co uk>
Date:   Mon Aug 24 18:43:04 2009 +0100

    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>

 libempathy/empathy-account-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 20facd3..75de6f1 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]