diff options
author | Emil Ivov <emcho@jitsi.org> | 2008-07-02 10:24:36 +0000 |
---|---|---|
committer | Emil Ivov <emcho@jitsi.org> | 2008-07-02 10:24:36 +0000 |
commit | 5d577059d49721cb64b93cc9b65f5cda0b0627d6 (patch) | |
tree | 3d14f761fa25b2d6d17d8a36e1feda7524d648e8 /src/net | |
parent | 9b93a50c3e18006203860a4acffc745181f925df (diff) | |
download | jitsi-5d577059d49721cb64b93cc9b65f5cda0b0627d6.zip jitsi-5d577059d49721cb64b93cc9b65f5cda0b0627d6.tar.gz jitsi-5d577059d49721cb64b93cc9b65f5cda0b0627d6.tar.bz2 |
Fix case sensitivity problems with jabber ids
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/ContactJabberImpl.java | 3 | ||||
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/ContactJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/ContactJabberImpl.java index 7ce5350..f29bf9c 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/ContactJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/ContactJabberImpl.java @@ -130,7 +130,8 @@ public class ContactJabberImpl { if (obj == null || !(obj instanceof ContactJabberImpl) - || !(((ContactJabberImpl)obj).getAddress().equals(getAddress()) + || !(((ContactJabberImpl)obj).getAddress() + .equalsIgnoreCase(getAddress()) && ((ContactJabberImpl)obj).getProtocolProvider() == getProtocolProvider())) diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java index 02d4739..7a9ffb8 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java @@ -296,7 +296,7 @@ public class ServerStoredContactListJabberImpl { ContactJabberImpl item = (ContactJabberImpl) rootContacts.next(); - if(item.getAddress().equals(id)) + if(item.getAddress().equalsIgnoreCase(id)) return item; } |