diff 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
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py	Sun Nov 20 15:36:45 2011 +0100
+++ b/src/bridge/bridge_constructor/dbus_frontend_template.py	Sun Nov 20 15:56:51 2011 +0100
@@ -110,8 +110,8 @@
     def getCard(self, target, profile_key='@DEFAULT@'):
         return self.db_plugin_iface.getCard(target, profile_key)
 
-    def getCardCache(self, target):
-        return self.db_plugin_iface.getCardCache(target)
+    def getCardCache(self, target, profile_key='@DEFAULT@'):
+        return self.db_plugin_iface.getCardCache(target, profile_key)
 
     def getAvatarFile(self, hash):
         return self.db_plugin_iface.getAvatarFile(hash)