diff options
author | mathieui <mathieui@mathieui.net> | 2012-11-11 16:01:53 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-11-11 16:01:53 +0100 |
commit | 6781f67e80aa5ec86c84b49ef4526dcef9feceda (patch) | |
tree | 03b86fbcf9cc34fb8412558fec4e3c19c78a268d /data | |
parent | 844392a69aad39b37281f212b0a55c8a611575ac (diff) | |
download | poezio-6781f67e80aa5ec86c84b49ef4526dcef9feceda.tar.gz poezio-6781f67e80aa5ec86c84b49ef4526dcef9feceda.tar.bz2 poezio-6781f67e80aa5ec86c84b49ef4526dcef9feceda.tar.xz poezio-6781f67e80aa5ec86c84b49ef4526dcef9feceda.zip |
Preload history into discussion windows (à la mcabber)
- New option load_log defaulting to 200 to indicate the number of lines
to be loaded
- It’s still very raw, and the format of the message does not match the
format of the normal room history, for example
- Works in the Private chat, MUC, and Conversation tabs
Thanks to labedz <github@labedz.org> for the original code
Diffstat (limited to 'data')
-rw-r--r-- | data/default_config.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/default_config.cfg b/data/default_config.cfg index af1ee6ab..489f9915 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -184,6 +184,11 @@ muc_history_length = 50 # in files. use_log = false +# 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 +load_log = 200 + # If log_dir is not set, logs will be saved in $XDG_DATA_HOME/poezio/logs, # i.e. in ~/.local/share/poezio/logs/. So, you should specify the directory # you want to use instead. This directory will be created if it doesn't exist |