diff options
author | Lance Stout <lancestout@gmail.com> | 2012-07-30 19:30:01 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-07-30 19:30:01 -0700 |
commit | 8009b0485e1205833af03f914721a7789f88e31c (patch) | |
tree | 7d89266cb9870ef5bb16e58a59c73c3a86410080 /sleekxmpp/clientxmpp.py | |
parent | 8742a56b3ed87c2ba6bd67400c1044256dd5578b (diff) | |
download | slixmpp-8009b0485e1205833af03f914721a7789f88e31c.tar.gz slixmpp-8009b0485e1205833af03f914721a7789f88e31c.tar.bz2 slixmpp-8009b0485e1205833af03f914721a7789f88e31c.tar.xz slixmpp-8009b0485e1205833af03f914721a7789f88e31c.zip |
Add stream feature for server support of subscription pre-approvals.
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r-- | sleekxmpp/clientxmpp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index e3b434e9..7cdaa799 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -113,9 +113,10 @@ class ClientXMPP(BaseXMPP): self.register_plugin('feature_starttls') self.register_plugin('feature_bind') self.register_plugin('feature_session') + self.register_plugin('feature_rosterver') + self.register_plugin('feature_preapproval') self.register_plugin('feature_mechanisms', pconfig={'use_mech': sasl_mech} if sasl_mech else None) - self.register_plugin('feature_rosterver') @property def password(self): |