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:
Goffi 2026-02-23 13:07:59 +01:00
commit c21ac3af16

View file

@ -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,