Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
503:10119c2a9d33 | 504:65ecbb473cbb |
---|---|
97 return self.db_core_iface.getContacts(profile_key) | 97 return self.db_core_iface.getContacts(profile_key) |
98 | 98 |
99 def getContactsFromGroup(self, group, profile_key="@DEFAULT@"): | 99 def getContactsFromGroup(self, group, profile_key="@DEFAULT@"): |
100 return self.db_core_iface.getContactsFromGroup(group, profile_key) | 100 return self.db_core_iface.getContactsFromGroup(group, profile_key) |
101 | 101 |
102 def getEntityData(self, jid, keys, profile): | |
103 return self.db_core_iface.getEntityData(jid, keys, profile) | |
104 | |
102 def getHistory(self, from_jid, to_jid, limit, between=True, callback=None, errback=None): | 105 def getHistory(self, from_jid, to_jid, limit, between=True, callback=None, errback=None): |
103 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:])) | 106 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:])) |
104 | 107 |
105 def getLastResource(self, contact_jid, profile_key="@DEFAULT@"): | 108 def getLastResource(self, contact_jid, profile_key="@DEFAULT@"): |
106 return unicode(self.db_core_iface.getLastResource(contact_jid, profile_key)) | 109 return unicode(self.db_core_iface.getLastResource(contact_jid, profile_key)) |