plugin XEP-0060: add_managed_node now do strict matching by default:
`add_managed_node` now match node when they are exactly the same by default, but if the new `strict_match` argument is set to `False`, the old behaviour of matching all node which start with the given `node` argument is used. rel 475
This commit is contained in:
parent
ad409de6a5
commit
c21ac3af16
1 changed files with 37 additions and 19 deletions
|
|
@ -81,6 +81,7 @@ class PubsubCache:
|
|||
self.host.trigger.add("XEP-0060_getItems", self._get_items_trigger)
|
||||
self._p.add_managed_node(
|
||||
"",
|
||||
strict_match=False,
|
||||
items_cb=self.on_items_event,
|
||||
delete_cb=self.on_delete_event,
|
||||
purge_db=self.on_purge_event,
|
||||
|
|
|
|||
Loading…
Reference in a new issue