summaryrefslogtreecommitdiff
path: root/src/core/wee-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-01-30 11:41:06 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-01-30 11:41:06 +0100
commit9259442dbfbb51695a7f9c427da589fc1f92420d (patch)
treea66f959ccf1bce41481dca238b24406fba52d4da /src/core/wee-upgrade.c
parentbf3241208b553babdeb851d684060b81d30edc72 (diff)
downloadweechat-9259442dbfbb51695a7f9c427da589fc1f92420d.zip
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags (closes #1746)
Diffstat (limited to 'src/core/wee-upgrade.c')
-rw-r--r--src/core/wee-upgrade.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index 090c5be9a..48c859416 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -659,7 +659,10 @@ upgrade_weechat_read_buffer_line (struct t_infolist *infolist)
case GUI_BUFFER_TYPE_FREE:
new_line = gui_line_new (upgrade_current_buffer,
infolist_integer (infolist, "y"),
- 0, 0, NULL, NULL,
+ infolist_time (infolist, "date"),
+ infolist_time (infolist, "date_printed"),
+ infolist_string (infolist, "tags"),
+ NULL,
infolist_string (infolist, "message"));
if (new_line)
gui_line_add_y (new_line);