~singpolyma/cheogram-android

d30f10e0bb67875bf3622f699d9cd41a42aa8c15 — Stephen Paul Weber 11 months ago ecd6e59
Don't even try info on domain JIDs when looking for a list of MUCs
1 files changed, 1 insertions(+), 0 deletions(-)

M src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java
M src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java => src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java +1 -0
@@ 195,6 195,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();