Commit 6f36d6b5 authored by mathieui's avatar mathieui
Browse files

feature: add a mam_sync option

parent 6d7921da
......@@ -249,6 +249,9 @@ use_bookmarks_method =
# in files.
#use_log = true
# set to 'false' to not sync the local lgos with the MAM server history
#mam_sync = true
# The number of lines to preload in a chat buffer when it opens
# (the lines are preloaded from the log files)
# 0 or a negative value disable that option
......
......@@ -861,6 +861,13 @@ Options related to logging.
Set to ``false`` if you don’t want to write any message to the disk.
mam_sync
**Default value:** ``true``
If ``true``, will try to fill local logs with missing MAM history
when opening a tab or joining a room.
Plugins
~~~~~~~
......
......@@ -92,6 +92,7 @@ DEFAULT_CONFIG: ConfigDict = {
'lazy_resize': True,
'log_dir': '',
'log_errors': True,
'mam_sync': True,
'max_lines_in_memory': 2048,
'max_messages_in_memory': 2048,
'max_nick_length': 25,
......
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