plugin XEP-0115: entity capabilities now use PersistentBinaryDict to store hash cache

This commit is contained in:
Goffi 2011-11-30 00:24:41 +01:00
commit 9102048217

View file

@ -237,6 +237,7 @@ class XEP_0054_handler(XMPPHandler):
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=''):