summaryrefslogtreecommitdiff
path: root/slixmpp
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp')
-rw-r--r--slixmpp/plugins/xep_0016/privacy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0016/privacy.py b/slixmpp/plugins/xep_0016/privacy.py
index e07ac633..38444b2b 100644
--- a/slixmpp/plugins/xep_0016/privacy.py
+++ b/slixmpp/plugins/xep_0016/privacy.py
@@ -67,8 +67,8 @@ class XEP_0016(BasePlugin):
iq.send(timeout=timeout, callback=callback,
timeout_callback=timeout_callback)
- def deactivate(self, timeout=None, callback=None,
- timeout_callback=None):
+ def deactivate(self, timeout=None, callback=None,
+ timeout_callback=None):
iq = self.xmpp.Iq()
iq['type'] = 'set'
iq['privacy'].enable('active')
@@ -124,4 +124,4 @@ class XEP_0016(BasePlugin):
iq['type'] = 'set'
iq['privacy']['list']['name'] = name
iq.send(timeout=timeout, callback=callback,
- timeout_callback=timeout_callback)
+ timeout_callback=timeout_callback)