mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
PubSubManager.getLeafNode(): Actually employ the prosody workaround
This commit is contained in:
parent
e6a51f2151
commit
bfab3ec578
1 changed files with 4 additions and 1 deletions
|
@ -321,7 +321,10 @@ public final class PubSubManager extends Manager {
|
|||
}
|
||||
catch (XMPPErrorException e) {
|
||||
if (e.getXMPPError().getCondition() == Condition.service_unavailable) {
|
||||
|
||||
// This could be caused by Prosody bug #805 (see https://prosody.im/issues/issue/805). Prosody does not
|
||||
// answer to disco#info requests on the node ID, which makes it undecidable if a node is a leaf or
|
||||
// collection node.
|
||||
return getLeafNodeProsoydWorkaround(id);
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue