ekiga r7725 - in trunk: . lib/engine/components/opal



Author: dsandras
Date: Sat Mar  7 14:10:28 2009
New Revision: 7725
URL: http://svn.gnome.org/viewvc/ekiga?rev=7725&view=rev

Log:
Fixed unregistration of accounts. It was impossible to stop an account 
from trying to register if that specific account was not already 
registered.


Modified:
   trunk/ChangeLog
   trunk/lib/engine/components/opal/sip-endpoint.cpp

Modified: trunk/lib/engine/components/opal/sip-endpoint.cpp
==============================================================================
--- trunk/lib/engine/components/opal/sip-endpoint.cpp	(original)
+++ trunk/lib/engine/components/opal/sip-endpoint.cpp	Sat Mar  7 14:10:28 2009
@@ -555,7 +555,7 @@
 
 bool Opal::Sip::EndPoint::subscribe (const Opal::Account & account)
 {
-  if (account.get_protocol_name () != "SIP" || account.is_active ())
+  if (account.get_protocol_name () != "SIP")
     return false;
 
   new subscriber (account, *this);
@@ -565,7 +565,7 @@
 
 bool Opal::Sip::EndPoint::unsubscribe (const Opal::Account & account)
 {
-  if (account.get_protocol_name () != "SIP" || !account.is_active ())
+  if (account.get_protocol_name () != "SIP")
     return false;
 
   new subscriber (account, *this);



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