[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/contactlist/addcontact/SelectAccountPanel.java

yanas at dev.java.net yanas at dev.java.net
Mon Apr 16 10:37:48 CEST 2007


User: yanas   
Date: 2007-04-16 08:37:48+0000
Log:
 Could not add contacts for protocol providers that don't support presence - fixed

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/contactlist/addcontact/
================================================================================================

File [changed]: SelectAccountPanel.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/gui/main/contactlist/addcontact/SelectAccountPanel.java?r1=1.13&r2=1.14
Delta lines:  +5 -0
-------------------
--- SelectAccountPanel.java	2007-04-11 14:15:55+0000	1.13
+++ SelectAccountPanel.java	2007-04-16 08:37:45+0000	1.14
@@ -113,6 +113,11 @@
             ProtocolProviderService pps 
                 = (ProtocolProviderService)protocolProvidersList.next();
             
+            OperationSet opSet = pps.getOperationSet(OperationSetPresence.class);
+            
+            if(opSet == null)
+                continue;
+            
             String pName = pps.getProtocolName();
             
             Image protocolImage = null;




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list