diff options
author | Damian Minkov <damencho@jitsi.org> | 2007-04-16 12:55:34 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2007-04-16 12:55:34 +0000 |
commit | a82a9f499b91e8f1a71cbce7fa8f98c8a0166439 (patch) | |
tree | d0fc734e7e6ee50ebdfa00b8a18681921c610f89 | |
parent | df33e0c3753b9381555de4c94d6c9bc551aeed0f (diff) | |
download | jitsi-a82a9f499b91e8f1a71cbce7fa8f98c8a0166439.zip jitsi-a82a9f499b91e8f1a71cbce7fa8f98c8a0166439.tar.gz jitsi-a82a9f499b91e8f1a71cbce7fa8f98c8a0166439.tar.bz2 |
Fix provider initial status and icq receceiving initial status.
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java | 2 | ||||
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java b/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java index 17649fb..7b13f3d 100644 --- a/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java +++ b/src/net/java/sip/communicator/impl/gui/main/presence/PresenceStatusSelectorBox.java @@ -229,7 +229,7 @@ public class PresenceStatusSelectorBox if(protocolProvider.isRegistered() && !presence.getPresenceStatus().equals(status)) { - new PublishPresenceStatusThread(status); + new PublishPresenceStatusThread(status).start(); } } diff --git a/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java index 601cdb9..e413448 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java @@ -1494,9 +1494,9 @@ public class OperationSetPersistentPresenceIcqImpl //that we're very much online so make sure we change accordingly if (currentIcqStatus == -1 ) 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); } |