summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-09 10:03:32 -0500
committerLance Stout <lancestout@gmail.com>2011-01-09 10:03:32 -0500
commitacdf9e2d22dd604578f50d0a9b67c47e001da69f (patch)
tree36bff4eeac8c080debf71f33106cc903f763aa04 /sleekxmpp/plugins
parent2076d506b469b932fc330743f2e56e76f52a045b (diff)
downloadslixmpp-acdf9e2d22dd604578f50d0a9b67c47e001da69f.tar.gz
slixmpp-acdf9e2d22dd604578f50d0a9b67c47e001da69f.tar.bz2
slixmpp-acdf9e2d22dd604578f50d0a9b67c47e001da69f.tar.xz
slixmpp-acdf9e2d22dd604578f50d0a9b67c47e001da69f.zip
Need to run post_init properly.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py1
-rw-r--r--sleekxmpp/plugins/xep_0059/rsm.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index b4f5e79f..6fd4e85f 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -122,6 +122,7 @@ class xep_0030(base_plugin):
def post_init(self):
"""Handle cross-plugin dependencies."""
+ base_plugin.post_init(self)
if self.xmpp['xep_0059']:
register_stanza_plugin(DiscoItems, self.xmpp['xep_0059'].stanza.Set)
diff --git a/sleekxmpp/plugins/xep_0059/rsm.py b/sleekxmpp/plugins/xep_0059/rsm.py
index 4a01596e..35908473 100644
--- a/sleekxmpp/plugins/xep_0059/rsm.py
+++ b/sleekxmpp/plugins/xep_0059/rsm.py
@@ -100,6 +100,7 @@ class xep_0059(base_plugin):
def post_init(self):
"""Handle inter-plugin dependencies."""
+ base_plugin.post_init(self)
self.xmpp['xep_0030'].add_feature(Set.namespace)
def iterate(self, stanza, interface):