diff frontends/src/bridge/DBus.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 e4e9187e3b5b
children 961543b20806
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Sun Nov 20 15:36:45 2011 +0100
+++ b/frontends/src/bridge/DBus.py	Sun Nov 20 15:56:51 2011 +0100
@@ -217,8 +217,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)