comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 435:c243f4cb2ad9

plugin XEP-0054: cache now use storage bridge: getCardCache updated to manage profile
author Goffi <goffi@goffi.org>
date Sun, 20 Nov 2011 15:56:51 +0100
parents 6c167a2e04b8
children 961543b20806
comparison
equal deleted inserted replaced
434:d7e5df876a04 435:c243f4cb2ad9
108 return self.db_plugin_iface.findGateways(target, profile_key) 108 return self.db_plugin_iface.findGateways(target, profile_key)
109 109
110 def getCard(self, target, profile_key='@DEFAULT@'): 110 def getCard(self, target, profile_key='@DEFAULT@'):
111 return self.db_plugin_iface.getCard(target, profile_key) 111 return self.db_plugin_iface.getCard(target, profile_key)
112 112
113 def getCardCache(self, target): 113 def getCardCache(self, target, profile_key='@DEFAULT@'):
114 return self.db_plugin_iface.getCardCache(target) 114 return self.db_plugin_iface.getCardCache(target, profile_key)
115 115
116 def getAvatarFile(self, hash): 116 def getAvatarFile(self, hash):
117 return self.db_plugin_iface.getAvatarFile(hash) 117 return self.db_plugin_iface.getAvatarFile(hash)
118 118
119 def in_band_register(self, target, profile_key='@DEFAULT@'): 119 def in_band_register(self, target, profile_key='@DEFAULT@'):