fixed cache cleaning cleaning all confercenes instead of where contact is. closes #3229
This commit is contained in:
parent
63f4625266
commit
dd1d1858d0
|
@ -1671,8 +1671,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue