ekiga r7329 - in branches/gnome-2-24: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7329 - in branches/gnome-2-24: . src/endpoints
- Date: Tue, 11 Nov 2008 19:21:46 +0000 (UTC)
Author: dsandras
Date: Tue Nov 11 19:21:46 2008
New Revision: 7329
URL: http://svn.gnome.org/viewvc/ekiga?rev=7329&view=rev
Log:
Do not suppose the status is now offline when receiving a NOTIFY with
an empty body.
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 Tue Nov 11 19:21:46 2008
@@ -1086,6 +1086,9 @@
std::string status;
std::string presence = "unknown";
+ if (basic.IsEmpty () && note.IsEmpty ())
+ return;
+
if (b.Find ("Open") != P_MAX_INDEX)
presence = "online";
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]