From 18074c3c234aa240b9ab780fe31ff4b650405e45 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 2 Aug 2012 01:09:10 +0200 Subject: Add simple communication blocking (Fixes #1837) - Add /block, /unblock, and /list_blocks commands - Enable the commands only if the server advertises the feature - http://xmpp.org/extensions/xep-0191.html#example-9 was not tested, but should work (could not find a server to test with) - Add documentation for the commands --- src/connection.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection.py') diff --git a/src/connection.py b/src/connection.py index f4db0816..dc4b170a 100644 --- a/src/connection.py +++ b/src/connection.py @@ -60,6 +60,7 @@ class Connection(sleekxmpp.ClientXMPP): self.register_plugin('xep_0048') self.register_plugin('xep_0071') self.register_plugin('xep_0085') + self.register_plugin('xep_0191') if config.get('send_poezio_info', 'true') == 'true': info = {'name':'poezio', 'version':'0.8-dev'} -- cgit v1.2.3