feature: add a mam_sync option
This commit is contained in:
parent
6d7921da55
commit
6f36d6b507
3 changed files with 11 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue