diff src/plugins/plugin_xep_0054.py @ 437:02c633a0ddcf

plugin XEP-0115: entity capabilities now use PersistentBinaryDict to store hash cache
author Goffi <goffi@goffi.org>
date Wed, 30 Nov 2011 00:24:41 +0100
parents c243f4cb2ad9
children d67cae85c2f9
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0054.py	Wed Nov 30 00:23:50 2011 +0100
+++ b/src/plugins/plugin_xep_0054.py	Wed Nov 30 00:24:41 2011 +0100
@@ -237,6 +237,7 @@
 
     def connectionInitialized(self):
         self.parent._vcard_cache = PersistentBinaryDict(NS_VCARD, self.parent.profile)
+        self.parent._vcard_cache.load()
         self.xmlstream.addObserver(VCARD_UPDATE, self.update)
     
     def getDiscoInfo(self, requestor, target, nodeIdentifier=''):