aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2008-07-02 10:24:36 +0000
committerEmil Ivov <emcho@jitsi.org>2008-07-02 10:24:36 +0000
commit5d577059d49721cb64b93cc9b65f5cda0b0627d6 (patch)
tree3d14f761fa25b2d6d17d8a36e1feda7524d648e8 /src/net
parent9b93a50c3e18006203860a4acffc745181f925df (diff)
downloadjitsi-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.java3
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java2
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;
}