plugin pubsub contacts: Implementation of the new contacts handling XEP.

This patch implements Pubsub Contacts (currently named "End-to-End Encrypted Contacts
Metadata" but it will be most probably renamed soon as following council discussion, e2e
encryption won't be mandatory anymore).

It adds 2 bridge method `ps_contacts_get` and `ps_contact_set`, and handles retrieving
large contacts or groups lists using RSM.

rel 475
This commit is contained in:
Goffi 2026-02-23 13:15:16 +01:00
commit 55e16c3db5

View file

@ -1971,6 +1971,8 @@ def find_ancestor(
- a simple string to find the namespace
- several namespaces can be specified in an iterable, if an element with any of
this namespace and given name is found, it will match
@return: found element.
@raise exceptions.NotFound: the given ancestor could not be found.
"""
if isinstance(namespace, str):