Ensure post init works for XEP-0118.

This commit is contained in:
Lance Stout 2012-03-10 10:44:53 -08:00
parent 549a9ab472
commit e5fc59a4c6

View file

@ -30,6 +30,7 @@ class xep_0118(base_plugin):
self.stanza = stanza
def post_init(self):
base_plugin.post_init(self)
pubsub_stanza = self.xmpp['xep_0060'].stanza
register_stanza_plugin(pubsub_stanza.EventItem, UserTune)
self.xmpp['xep_0163'].add_interest(UserTune.namespace)