aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-11 23:44:59 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-11 23:44:59 +0200
commit7a26f272121107084a835638f4a287d49c44a7fe (patch)
tree65dbe2899ce0eda8c53c8730185c6f932d601b74 /src/eu/siacs/conversations/entities
parent610df2eddc06d9b7cbe0157a2f101eb9eaef76d0 (diff)
switch SearchView with custom action view
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-rw-r--r--src/eu/siacs/conversations/entities/Contact.java22
1 files changed, 1 insertions, 21 deletions
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;
}