From 6781f67e80aa5ec86c84b49ef4526dcef9feceda Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 11 Nov 2012 16:01:53 +0100 Subject: =?UTF-8?q?Preload=20history=20into=20discussion=20windows=20(?= =?UTF-8?q?=C3=A0=20la=20mcabber)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 for the original code --- data/default_config.cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') 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 -- cgit v1.2.3