diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-10-20 21:47:01 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-10-20 21:47:01 +0200 |
commit | a19b47119bebf1990ed239ed028faf28c2aff101 (patch) | |
tree | ade3785275275fa313d368e50c853db8a2e20df6 /src/main | |
parent | 2693c655a64f5c858205d1112866cd8763f7103e (diff) |
fixed cache cleaning cleaning all confercenes instead of where contact is
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index df871dd83..f47893e48 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -1870,8 +1870,7 @@ public class XmppConnectionService extends Service { public List<Conversation> findAllConferencesWith(Contact contact) { ArrayList<Conversation> results = new ArrayList<>(); for (final Conversation c : conversations) { - if (c.getMode() == Conversation.MODE_MULTI - && (c.getJid().asBareJid().equals(c.getJid().asBareJid()) || c.getMucOptions().isContactInRoom(contact))) { + if (c.getMode() == Conversation.MODE_MULTI && c.getMucOptions().isContactInRoom(contact)) { results.add(c); } } |