Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_comp_ap_gateway/ad_hoc.py @ 4343:627f872bc16e
plugin XEP-0050: fix `allowed_magics` arg and calls to `add_ad_hoc_command`.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 13 Jan 2025 01:23:22 +0100 |
parents | 0d7bb4df2343 |
children |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_comp_ap_gateway/ad_hoc.py Mon Jan 13 01:23:10 2025 +0100 +++ b/libervia/backend/plugins/plugin_comp_ap_gateway/ad_hoc.py Mon Jan 13 01:23:22 2025 +0100 @@ -44,7 +44,7 @@ self.xmpp_jid_node_2_ap_actor, "Convert XMPP JID/Node to AP actor", node=NS_XMPP_JID_NODE_2_AP, - allowed_magics=C.ENTITY_ALL, + allowed_magics=[C.ENTITY_ALL], ) async def xmpp_jid_node_2_ap_actor(