comparison sat_frontends/bridge/dbus_bridge.py @ 3102:7574f795bd1e

core, bridge: encryptionPluginsGet now returns a serialised list + added "directed" in metadata
author Goffi <goffi@goffi.org>
date Mon, 30 Dec 2019 20:44:04 +0100
parents 2cc2f65379f7
children 130f9cb6e0ab
comparison
equal deleted inserted replaced
3101:ab7e8ade848a 3102:7574f795bd1e
271 kwargs={} 271 kwargs={}
272 if callback is not None: 272 if callback is not None:
273 kwargs['timeout'] = const_TIMEOUT 273 kwargs['timeout'] = const_TIMEOUT
274 kwargs['reply_handler'] = callback 274 kwargs['reply_handler'] = callback
275 kwargs['error_handler'] = error_handler 275 kwargs['error_handler'] = error_handler
276 return self.db_core_iface.encryptionPluginsGet(**kwargs) 276 return str(self.db_core_iface.encryptionPluginsGet(**kwargs))
277 277
278 def encryptionTrustUIGet(self, to_jid, namespace, profile_key, callback=None, errback=None): 278 def encryptionTrustUIGet(self, to_jid, namespace, profile_key, callback=None, errback=None):
279 if callback is None: 279 if callback is None:
280 error_handler = None 280 error_handler = None
281 else: 281 else: