forked from mirror/monocles_chat
Don't even try info on domain JIDs when looking for a list of MUCs (Cheogram)
This commit is contained in:
parent
9455b20e45
commit
7e11cad983
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ public class ChannelDiscoveryService {
|
|||
if (itemsResponse.getType() == IqPacket.TYPE.RESULT) {
|
||||
final List<Jid> items = IqParser.items(itemsResponse);
|
||||
for (Jid item : items) {
|
||||
if (item.isDomainJid()) continue; // Only looking for MUCs for now, and by spec they have a localpart
|
||||
IqPacket infoRequest = service.getIqGenerator().queryDiscoInfo(item);
|
||||
queriesInFlight.incrementAndGet();
|
||||
service.sendIqPacket(account, infoRequest, new OnIqPacketReceived() {
|
||||
|
|
Loading…
Add table
Reference in a new issue