diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-30 16:24:23 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-30 16:24:23 +0100 |
commit | b24bb0aded180f2c7d70ebabbf1ceae6faeece8c (patch) | |
tree | 5a0c21b43b58f0adf8a9194e328f26f04ab3a243 | |
parent | 7c6cf420751cfe0f1224fd8d6b83fff209b2f032 (diff) | |
download | xK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.tar.gz xK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.tar.xz xK-b24bb0aded180f2c7d70ebabbf1ceae6faeece8c.zip |
degesch: fix join/part hiding in the backlog
-rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |