ekiga r6293 - in trunk: . src/endpoints



Author: dsandras
Date: Tue May 20 19:43:37 2008
New Revision: 6293
URL: http://svn.gnome.org/viewvc/ekiga?rev=6293&view=rev

Log:
Fixed DND support in PIDF.


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	Tue May 20 19:43:37 2008
@@ -221,6 +221,7 @@
   std::string hostname = (const char *) PIPSocket::GetHostName ();
   // TODO: move this code outside of this class and allow a 
   // more complete document
+  // TODO: add support for long status
   std::string status = ((Ekiga::PersonalDetails &) (details)).get_short_status ();
   for (std::list<std::string>::iterator it = aors.begin ();
        it != aors.end ();
@@ -910,6 +911,7 @@
     status = _("Away");
   }
   else if (s.Find ("On the phone") != P_MAX_INDEX
+           || s.Find ("dnd") != P_MAX_INDEX
            || s.Find ("Ringing") != P_MAX_INDEX
            || s.Find ("Do Not Disturb") != P_MAX_INDEX) {
     presence = "presence-dnd";



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