ekiga r6878 - in trunk: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6878 - in trunk: . src/endpoints
- Date: Mon,  8 Sep 2008 17:47:33 +0000 (UTC)
Author: dsandras
Date: Mon Sep  8 17:47:33 2008
New Revision: 6878
URL: http://svn.gnome.org/viewvc/ekiga?rev=6878&view=rev
Log:
Fixed bug #501909.
Modified:
   trunk/ChangeLog
   trunk/src/endpoints/sip-endpoint.cpp
Modified: trunk/src/endpoints/sip-endpoint.cpp
==============================================================================
--- trunk/src/endpoints/sip-endpoint.cpp	(original)
+++ trunk/src/endpoints/sip-endpoint.cpp	Mon Sep  8 17:47:33 2008
@@ -933,6 +933,11 @@
 
 void Opal::Sip::EndPoint::OnMWIReceived (const PString & party, OpalManager::MessageWaitingType /*type*/, const PString & info)
 {
+  std::string mwi = info;
+  std::transform (mwi.begin(), mwi.end(), mwi.begin(), ::tolower);
+  if (mwi == "no")
+    mwi = "0/0";
+
   /* Signal */
   Ekiga::Account *account = account_core.find_account (party);
   if (account)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]