diff options
author | Damian Minkov <damencho@jitsi.org> | 2007-04-17 13:01:46 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2007-04-17 13:01:46 +0000 |
commit | 2926a49bfa5f0159810b0907086190538888ce14 (patch) | |
tree | f10cb82422dd7b169194418591a373fb35bce8c2 /src/net/java/sip | |
parent | 7dc7780b3a7413919fa80e509628ff2453fa2c7e (diff) | |
download | jitsi-2926a49bfa5f0159810b0907086190538888ce14.zip jitsi-2926a49bfa5f0159810b0907086190538888ce14.tar.gz jitsi-2926a49bfa5f0159810b0907086190538888ce14.tar.bz2 |
Fix Aim offline icon and aim searching screennames.
Diffstat (limited to 'src/net/java/sip')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/icq/ContactGroupIcqImpl.java | 2 | ||||
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/icq/ContactIcqImpl.java | 15 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/icq/ContactGroupIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/ContactGroupIcqImpl.java index 102cb05..c1f03f8 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/ContactGroupIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/ContactGroupIcqImpl.java @@ -433,7 +433,7 @@ public class ContactGroupIcqImpl { ContactIcqImpl item = (ContactIcqImpl) contacts.next(); if(item.getJoustSimBuddy().getScreenname().getFormatted() - .equals(screenName)) + .equalsIgnoreCase(screenName)) return item; } return null; diff --git a/src/net/java/sip/communicator/impl/protocol/icq/ContactIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/ContactIcqImpl.java index acc0587..bfbee5e 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/ContactIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/ContactIcqImpl.java @@ -4,6 +4,7 @@ import java.util.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protocol.icqconstants.*; +import net.java.sip.communicator.service.protocol.aimconstants.*; import net.kano.joustsim.oscar.oscar.service.ssi.*; /** @@ -16,7 +17,7 @@ public class ContactIcqImpl Buddy joustSimBuddy = null; private boolean isLocal = false; private byte[] image = null; - private PresenceStatus icqStatus = IcqStatusEnum.OFFLINE; + private PresenceStatus icqStatus = null; private ServerStoredContactListIcqImpl ssclCallback = null; private boolean isPersistent = false; private boolean isResolved = false; @@ -169,7 +170,15 @@ public class ContactIcqImpl */ public PresenceStatus getPresenceStatus() { - return icqStatus; + if(icqStatus == null) + { + if(ssclCallback.getParentProvider().USING_ICQ) + return IcqStatusEnum.OFFLINE; + else + return AimStatusEnum.OFFLINE; + } + else + return icqStatus; } /** @@ -330,4 +339,4 @@ public class ContactIcqImpl { this.image = image; } -}
\ No newline at end of file +} |