ekiga r6071 - in trunk: . src/endpoints



Author: dsandras
Date: Sun Mar 16 17:45:39 2008
New Revision: 6071
URL: http://svn.gnome.org/viewvc/ekiga?rev=6071&view=rev

Log:
Do not force a status message when there is none.


Modified:
   trunk/ChangeLog
   trunk/src/endpoints/sip.cpp

Modified: trunk/src/endpoints/sip.cpp
==============================================================================
--- trunk/src/endpoints/sip.cpp	(original)
+++ trunk/src/endpoints/sip.cpp	Sun Mar 16 17:45:39 2008
@@ -694,8 +694,8 @@
   PCaselessString b = basic;
   PCaselessString s = note;
 
-  std::string status = "presence-unknown";
-  std::string presence;
+  std::string status;
+  std::string presence = "presence-unknown";
 
   SIPURL sip_uri = SIPURL (user);
   sip_uri.AdjustForRequestURI ();
@@ -703,11 +703,9 @@
 
   if (b.Find ("Closed") != P_MAX_INDEX) {
     presence = "presence-offline";
-    status = _("Offline");
   }
   else {
     presence = "presence-online";
-    status = _("Online");
   }
 
   if (s.Find ("Away") != P_MAX_INDEX) {



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