From 6acd5660b602959b88c48cc805970155b5d9eab7 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 3 Dec 2007 09:46:26 +0000 Subject: Fix : changing states from one with status message to one without status message, the message stays. --- .../impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/net/java/sip/communicator') 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 464e2a8..7c63a7a 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java @@ -1694,7 +1694,7 @@ public class OperationSetPersistentPresenceIcqImpl } /** - * Apart from loggin - does nothing so far. + * Apart from login - does nothing so far. */ private class GlobalBuddyInfoListener extends GlobalBuddyInfoAdapter{ public void receivedStatusUpdate(BuddyInfoManager manager, @@ -1711,8 +1711,7 @@ public class OperationSetPersistentPresenceIcqImpl if(sourceContact != null) { - if(statusMessage != null) - sourceContact.setStatusMessage(statusMessage); + sourceContact.setStatusMessage(statusMessage); } } -- cgit v1.1