[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/protocol/icq/, /sip-communicator/src/net/java/sip/communicator/impl/gui/main/prese...

damencho at dev.java.net damencho at dev.java.net
Mon Apr 16 14:55:37 CEST 2007


User: damencho
Date: 2007-04-16 12:55:37+0000
Modified:
   sip-communicator/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java
   sip-communicator/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java

Log:
 Fix provider initial status and icq receceiving initial status.

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/protocol/icq/
=============================================================================

File [changed]: OperationSetPersistentPresenceIcqImpl.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java?r1=1.33&r2=1.34
Delta lines:  +2 -2
-------------------
--- OperationSetPersistentPresenceIcqImpl.java	2007-04-11 12:47:40+0000	1.33
+++ OperationSetPersistentPresenceIcqImpl.java	2007-04-16 12:55:34+0000	1.34
@@ -1496,7 +1496,7 @@
                     currentIcqStatus = ICQ_ONLINE_MASK;
                 
                 //only notify of an event change if there was really one.
-                if( oldStatus != userInfo.getIcqStatus() )
+                if( oldStatus !=  currentIcqStatus)
                     fireProviderPresenceStatusChangeEvent(oldStatus,
                                                         currentIcqStatus);
             }

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

File [changed]: PresenceStatusSelectorBox.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java?r1=1.15&r2=1.16
Delta lines:  +1 -1
-------------------
--- PresenceStatusSelectorBox.java	2007-03-12 17:46:38+0000	1.15
+++ PresenceStatusSelectorBox.java	2007-04-16 12:55:34+0000	1.16
@@ -229,7 +229,7 @@
         if(protocolProvider.isRegistered()
                 && !presence.getPresenceStatus().equals(status))
         {
-            new PublishPresenceStatusThread(status);
+            new PublishPresenceStatusThread(status).start();
         }
     }
 




---------------------------------------------------------------------
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