1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 15:14:54 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/disco
Florian Schmaus 17bb738e9e Make PubSubManager.getNode(String) more robust
I've got reports from users that in some cases there can be multiple
identities. Not just one, and in this case, the node type may not be the
first identity. We now iterate over all identities until we either found
one of type "leaf" or "collection".

For example one user reports an ejabberd with PEP case, where the first
identity is of type "pep", the second of type "leaf" and a third one
with category "account" and type "registered".

Also extend DiscoverInfo API with hasIdentity(String, String) and
getIdentities(String, String).
2014-10-17 14:26:06 +02:00
..
packet Make PubSubManager.getNode(String) more robust 2014-10-17 14:26:06 +02:00
provider Add 'PacketParserUtils.addPacketextension()' 2014-10-08 16:01:19 +02:00
AbstractNodeInformationProvider.java Add MultiUserChatManager 2014-10-13 22:32:34 +02:00
NodeInformationProvider.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
ServiceDiscoveryManager.java Remove smack.util.Cache 2014-09-13 00:38:11 +02:00