diff frontends/src/bridge/DBus.py @ 504:65ecbb473cbb

core, quick frontend, plugin xep-0054, bridge: use of memory's entities data for vcard: - bridge: new bridge method getEntityData and signal entityDataUpdated - core: entityDataUpdated signal sent on new string data - quick frontend: fixed avatars/vcard infos, fixed _replace in quick_contact_list - plugin xep-0054: dropped updatedValue signal, use entities data instead
author Goffi <goffi@goffi.org>
date Wed, 26 Sep 2012 01:23:56 +0200
parents e9634d2e7b38
children 790be337cc41
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Wed Sep 26 00:38:41 2012 +0200
+++ b/frontends/src/bridge/DBus.py	Wed Sep 26 01:23:56 2012 +0200
@@ -99,6 +99,9 @@
     def getContactsFromGroup(self, group, profile_key="@DEFAULT@"):
         return self.db_core_iface.getContactsFromGroup(group, profile_key)
 
+    def getEntityData(self, jid, keys, profile):
+        return self.db_core_iface.getEntityData(jid, keys, profile)
+
     def getHistory(self, from_jid, to_jid, limit, between=True, callback=None, errback=None):
         return self.db_core_iface.getHistory(from_jid, to_jid, limit, between, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))