diff options
author | hristoterezov <hristo@jitsi.org> | 2013-11-26 16:57:56 +0200 |
---|---|---|
committer | hristoterezov <hristo@jitsi.org> | 2013-11-26 16:57:56 +0200 |
commit | eff7474667506a065e02b208ea879d40e4a4681f (patch) | |
tree | e9e42c114383dc13a6c804bd888d6b96cb1583c5 /src/net/java/sip/communicator/impl/muc | |
parent | c0f4ebdcd137fbdc622f4e71b82ccd77bc94e24f (diff) | |
download | jitsi-eff7474667506a065e02b208ea879d40e4a4681f.zip jitsi-eff7474667506a065e02b208ea879d40e4a4681f.tar.gz jitsi-eff7474667506a065e02b208ea879d40e4a4681f.tar.bz2 |
Changes the chat room contact source to return chat rooms that contains
the query string not only start with it.
Diffstat (limited to 'src/net/java/sip/communicator/impl/muc')
-rw-r--r-- | src/net/java/sip/communicator/impl/muc/ChatRoomQuery.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/muc/ChatRoomQuery.java b/src/net/java/sip/communicator/impl/muc/ChatRoomQuery.java index d46a280..c6d9db9 100644 --- a/src/net/java/sip/communicator/impl/muc/ChatRoomQuery.java +++ b/src/net/java/sip/communicator/impl/muc/ChatRoomQuery.java @@ -244,9 +244,9 @@ public class ChatRoomQuery boolean isAutoJoin)
{
if(queryString == null
- || ((room.getName().startsWith(
+ || ((room.getName().contains(
queryString)
- || room.getIdentifier().startsWith(queryString)
+ || room.getIdentifier().contains(queryString)
)))
{
ChatRoomSourceContact contact
@@ -283,9 +283,9 @@ public class ChatRoomQuery boolean isAutoJoin)
{
if(queryString == null
- || ((chatRoomName.startsWith(
+ || ((chatRoomName.contains(
queryString)
- || chatRoomID.startsWith(queryString)
+ || chatRoomID.contains(queryString)
)))
{
ChatRoomSourceContact contact
|