Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/sat/plugins/plugin_adhoc_dbus.py Wed Jan 29 11:19:47 2020 +0100 +++ b/sat/plugins/plugin_adhoc_dbus.py Wed Jan 29 12:38:48 2020 +0100 @@ -329,9 +329,9 @@ - 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 = []