From b24bb0aded180f2c7d70ebabbf1ceae6faeece8c Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 30 Oct 2016 16:24:23 +0100
Subject: degesch: fix join/part hiding in the backlog
---
degesch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
cgit v1.2.3-70-g09d2