summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-30 19:30:01 -0700
committerLance Stout <lancestout@gmail.com>2012-07-30 19:30:01 -0700
commit8009b0485e1205833af03f914721a7789f88e31c (patch)
tree7d89266cb9870ef5bb16e58a59c73c3a86410080 /sleekxmpp/clientxmpp.py
parent8742a56b3ed87c2ba6bd67400c1044256dd5578b (diff)
downloadslixmpp-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.py3
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):