comparison sat/plugins/plugin_adhoc_dbus.py @ 3140:46a6251713d3

core: fixed `findByFeatures`: jids where not correctly put in `found_own` and `found_roster` lists.
author Goffi <goffi@goffi.org>
date Wed, 29 Jan 2020 12:38:48 +0100
parents 559a625a236b
children be6d91572633
comparison
equal deleted inserted replaced
3139:ca61807f724c 3140:46a6251713d3
327 @return (list[tuple[unicode, unicode, unicode]]): list of devices with: 327 @return (list[tuple[unicode, unicode, unicode]]): list of devices with:
328 - entity full jid 328 - entity full jid
329 - device name 329 - device name
330 - device label 330 - device label
331 """ 331 """
332 found_data = yield self.host.findByFeatures( 332 found_data = yield defer.ensureDeferred(self.host.findByFeatures(
333 client, [self.host.ns_map['commands']], service=False, roster=False, 333 client, [self.host.ns_map['commands']], service=False, roster=False,
334 own_jid=True, local_device=True) 334 own_jid=True, local_device=True))
335 335
336 remotes = [] 336 remotes = []
337 337
338 for found in found_data: 338 for found in found_data:
339 for device_jid_s in found: 339 for device_jid_s in found: