Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
aa79acb7
Commit
aa79acb7
authored
Jun 12, 2016
by
mathieui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable smacks by default
parent
3de3dbd7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
data/default_config.cfg
data/default_config.cfg
+5
-0
doc/source/configuration.rst
doc/source/configuration.rst
+9
-0
poezio/config.py
poezio/config.py
+1
-0
poezio/connection.py
poezio/connection.py
+2
-1
No files found.
data/default_config.cfg
View file @
aa79acb7
...
...
@@ -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.
...
...
doc/source/configuration.rst
View file @
aa79acb7
...
...
@@ -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``
...
...
poezio/config.py
View file @
aa79acb7
...
...
@@ -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
,
...
...
poezio/connection.py
View file @
aa79acb7
...
...
@@ -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'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment