diff libervia/backend/plugins/plugin_adhoc_dbus.py @ 4184:50c919dfe61b

plugin XEP-0050: small code quality improvements + add `C.ENTITY_ADMINS` magic key to allow administrators profiles
author Goffi <goffi@goffi.org>
date Sun, 10 Dec 2023 15:08:08 +0100
parents 319a0e47dc8b
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_adhoc_dbus.py	Sat Dec 09 19:20:13 2023 +0100
+++ b/libervia/backend/plugins/plugin_adhoc_dbus.py	Sun Dec 10 15:08:08 2023 +0100
@@ -340,7 +340,7 @@
         for found in found_data:
             for device_jid_s in found:
                 device_jid = jid.JID(device_jid_s)
-                cmd_list = await self._c.list(client, device_jid)
+                cmd_list = await self._c.list_commands(client, device_jid)
                 for cmd in cmd_list:
                     if cmd.nodeIdentifier == NS_MEDIA_PLAYER:
                         try: