ekiga r7139 - in branches/gnome-2-24: . src/endpoints



Author: dsandras
Date: Wed Oct  1 19:40:01 2008
New Revision: 7139
URL: http://svn.gnome.org/viewvc/ekiga?rev=7139&view=rev

Log:
Default SIP presence is offline, not online.


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/endpoints/sip-endpoint.cpp

Modified: branches/gnome-2-24/src/endpoints/sip-endpoint.cpp
==============================================================================
--- branches/gnome-2-24/src/endpoints/sip-endpoint.cpp	(original)
+++ branches/gnome-2-24/src/endpoints/sip-endpoint.cpp	Wed Oct  1 19:40:01 2008
@@ -1086,10 +1086,10 @@
   std::string status;
   std::string presence = "unknown";
 
-  if (b.Find ("Closed") != P_MAX_INDEX)
-    presence = "offline";
-  else
+  if (b.Find ("Open") != P_MAX_INDEX)
     presence = "online";
+  else
+    presence = "offline";
 
   if (s.Find ("Away") != P_MAX_INDEX)
     presence = "away";



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