[ekiga/gnome-2-26] Dropped unuseful check.



commit 35d8bae7542ddf950563cf5ad10ba9d71da7b95c
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Sep 20 12:28:09 2009 +0200

    Dropped unuseful check.

 lib/engine/components/opal/h323-endpoint.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 71b6858..a8e175a 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -252,7 +252,7 @@ Opal::H323::EndPoint::get_forward_uri () const
 bool
 Opal::H323::EndPoint::subscribe (const Opal::Account & account)
 {
-  if (account.get_protocol_name () != "H323" || account.is_active ())
+  if (account.get_protocol_name () != "H323")
     return false;
 
   new subscriber (account, *this);
@@ -264,7 +264,7 @@ Opal::H323::EndPoint::subscribe (const Opal::Account & account)
 bool
 Opal::H323::EndPoint::unsubscribe (const Opal::Account & account)
 {
-  if (account.get_protocol_name () != "H323" || !account.is_active ())
+  if (account.get_protocol_name () != "H323")
     return false;
 
   new subscriber (account, *this);



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