From acdf9e2d22dd604578f50d0a9b67c47e001da69f Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sun, 9 Jan 2011 10:03:32 -0500 Subject: Need to run post_init properly. --- sleekxmpp/plugins/xep_0030/disco.py | 1 + sleekxmpp/plugins/xep_0059/rsm.py | 1 + 2 files changed, 2 insertions(+) (limited to 'sleekxmpp') 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): -- cgit v1.2.3