From d30f10e0bb67875bf3622f699d9cd41a42aa8c15 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 25 Jun 2023 21:59:41 -0500 Subject: [PATCH] Don't even try info on domain JIDs when looking for a list of MUCs --- .../eu/siacs/conversations/services/ChannelDiscoveryService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java b/src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java index 413b41cce..eb0392cd7 100644 --- a/src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java +++ b/src/main/java/eu/siacs/conversations/services/ChannelDiscoveryService.java @@ -195,6 +195,7 @@ public class ChannelDiscoveryService { if (itemsResponse.getType() == IqPacket.TYPE.RESULT) { final List 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(); -- 2.45.2