core: fixed findByFeatures:

jids where not correctly put in `found_own` and `found_roster` lists.
This commit is contained in:
Goffi 2020-01-29 12:38:48 +01:00
commit 53cc1f1bac

View file

@ -329,9 +329,9 @@ class AdHocDBus(object):
- device name
- device label
"""
found_data = yield self.host.findByFeatures(
found_data = yield defer.ensureDeferred(self.host.findByFeatures(
client, [self.host.ns_map['commands']], service=False, roster=False,
own_jid=True, local_device=True)
own_jid=True, local_device=True))
remotes = []