[ekiga] Presence: Consider "NoPresence" as offline (as it should).



commit 9fb3371088be511e73f95065959227bb56ac1960
Author: Damien Sandras <dsandras beip be>
Date:   Sun Sep 30 16:13:11 2012 +0200

    Presence: Consider "NoPresence" as offline (as it should).

 lib/engine/components/opal/opal-account.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 8361855..1d6476d 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -803,13 +803,13 @@ Opal::Account::OnPresenceChange (OpalPresentity& /*presentity*/,
     }
     break;
   case OpalPresenceInfo::NoPresence:
-    new_presence = "unknown";
+    new_presence = "offline";
     break;
   case OpalPresenceInfo::InternalError:
   case OpalPresenceInfo::Forbidden:
   case OpalPresenceInfo::Unavailable:
   case OpalPresenceInfo::UnknownExtended:
-    new_presence = "offline";
+    new_presence = "unknown";
     break;
   case OpalPresenceInfo::Away:
     new_presence = "away";



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