summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-30 16:24:23 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-30 16:24:23 +0100
commitb24bb0aded180f2c7d70ebabbf1ceae6faeece8c (patch)
tree5a0c21b43b58f0adf8a9194e328f26f04ab3a243
parent7c6cf420751cfe0f1224fd8d6b83fff209b2f032 (diff)
downloadxK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.tar.gz
xK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.tar.xz
xK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.zip
degesch: fix join/part hiding in the backlog
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 7f02626..c599f0e 100644
--- a/degesch.c
+++ b/degesch.c
@@ -12511,7 +12511,8 @@ display_backlog (struct app_context *ctx, int flush_opts)
if (until_marker-- == 0
&& buffer->new_messages_count != buffer->lines_count)
buffer_print_read_marker (ctx, backlog, flush_opts);
- buffer_line_write_to_backlog (ctx, line, backlog, flush_opts);
+ if (buffer_line_will_show_up (buffer, line))
+ buffer_line_write_to_backlog (ctx, line, backlog, flush_opts);
}
// So that it is obvious if the last line in the buffer is not from today