comparison src/plugins/plugin_misc_invitations.py @ 2185:dd53d7a3219a

plugin XEP-0060: added psGet bridge method
author Goffi <goffi@goffi.org>
date Sun, 12 Mar 2017 23:28:04 +0100
parents e0f91efa404a
children c316c6f6a737
comparison
equal deleted inserted replaced
2184:e0f91efa404a 2185:dd53d7a3219a
60 Welcome! 60 Welcome!
61 """) 61 """)
62 62
63 63
64 class InvitationsPlugin(object): 64 class InvitationsPlugin(object):
65 # TODO: plugin unload
66 65
67 def __init__(self, host): 66 def __init__(self, host):
68 log.info(_(u"plugin Invitations initialization")) 67 log.info(_(u"plugin Invitations initialization"))
69 self.host = host 68 self.host = host
70 self.invitations = persistent.LazyPersistentBinaryDict(u'invitations') 69 self.invitations = persistent.LazyPersistentBinaryDict(u'invitations')