From 7a26f272121107084a835638f4a287d49c44a7fe Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 11 Jul 2014 23:44:59 +0200 Subject: switch SearchView with custom action view --- src/eu/siacs/conversations/entities/Contact.java | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/eu/siacs/conversations/entities/Contact.java') diff --git a/src/eu/siacs/conversations/entities/Contact.java b/src/eu/siacs/conversations/entities/Contact.java index a0f77f7c9..fc9902746 100644 --- a/src/eu/siacs/conversations/entities/Contact.java +++ b/src/eu/siacs/conversations/entities/Contact.java @@ -129,27 +129,7 @@ public class Contact implements ListItem { public Account getAccount() { return this.account; } - - public boolean couldBeMuc() { - String[] split = this.getJid().split("@"); - if (split.length != 2) { - return false; - } else { - String[] domainParts = split[1].split("\\."); - if (domainParts.length < 3) { - return false; - } else { - return (domainParts[0].equals("conf") - || domainParts[0].equals("conference") - || domainParts[0].equals("room") - || domainParts[0].equals("muc") - || domainParts[0].equals("chat") - || domainParts[0].equals("sala") || domainParts[0] - .equals("salas")); - } - } - } - + public Presences getPresences() { return this.presences; } -- cgit v1.2.3