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:
parent
0bc56134ad
commit
55e16c3db5
1 changed files with 687 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue