plugin XEP-0050: small code quality improvements + add C.ENTITY_ADMINS magic key to allow administrators profiles
This commit is contained in:
parent
b8d00757d3
commit
f1cc34cc53
1 changed files with 146 additions and 82 deletions
|
|
@ -340,7 +340,7 @@ class AdHocDBus:
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue