Commit aa79acb7 authored by mathieui's avatar mathieui

Disable smacks by default

parent 3de3dbd7
......@@ -172,6 +172,11 @@ use_bookmarks_method =
# colored text for example.
#enable_xhtml_im = true
# Stream Management (XEP-0198) is an extension designed to improve
# the reliability of XMPP in unreliable network conditions (such
# as mobile networks). It can however increase bandwidth usage.
#enable_smacks = false
# Set a number for this setting.
# The join OR status-change notices will be
# displayed according to this number.
......
......@@ -302,6 +302,15 @@ to understand what is :ref:`carbons <carbons-details>` or
enabled. There should be no reason to disable this except if you encounter
issues with your server.
enable_smacks
**Default value:** ``false``
Stream Management (XEP-0198) is an extension designed to improve
the reliability of XMPP in unreliable network conditions (such
as mobile networks). It can however increase bandwidth usage.
It also requires server support.
enable_user_activity
**Default value:** ``true``
......
......@@ -58,6 +58,7 @@ DEFAULT_CONFIG = {
'enable_user_tune': True,
'enable_vertical_tab_list': False,
'enable_xhtml_im': True,
'enable_smacks': False,
'eval_password': '',
'exec_remote': False,
'extract_inline_images': True,
......
......@@ -123,7 +123,8 @@ class Connection(slixmpp.ClientXMPP):
self.plugin['xep_0184'].auto_request = config.get('request_message_receipts')
self.register_plugin('xep_0191')
self.register_plugin('xep_0198')
if config.get('enable_smacks'):
self.register_plugin('xep_0198')
self.register_plugin('xep_0199')
if config.get('enable_user_tune'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment