summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-01-04 22:25:13 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-01-04 22:25:13 +0100
commit89517d44a553582e2d25d3a3796e111aa3b7a1f1 (patch)
treedf6ca5f82afe46f82554f64f54a7f8f3488ef337 /src/plugins/relay/relay-upgrade.c
parent18752175099d9a4449436848714b5a3953330ecd (diff)
downloadweechat-89517d44a553582e2d25d3a3796e111aa3b7a1f1.zip
relay: add microseconds in relay raw messages (issue #649)
Diffstat (limited to 'src/plugins/relay/relay-upgrade.c')
-rw-r--r--src/plugins/relay/relay-upgrade.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/relay/relay-upgrade.c b/src/plugins/relay/relay-upgrade.c
index fd23f1242..e45c3e579 100644
--- a/src/plugins/relay/relay-upgrade.c
+++ b/src/plugins/relay/relay-upgrade.c
@@ -217,9 +217,11 @@ relay_upgrade_read_cb (const void *pointer, void *data,
relay_client_new_with_infolist (infolist);
break;
case RELAY_UPGRADE_TYPE_RAW_MESSAGE:
- relay_raw_message_add_to_list (weechat_infolist_time (infolist, "date"),
- weechat_infolist_string (infolist, "prefix"),
- weechat_infolist_string (infolist, "message"));
+ relay_raw_message_add_to_list (
+ weechat_infolist_time (infolist, "date"),
+ weechat_infolist_integer (infolist, "date_usec"),
+ weechat_infolist_string (infolist, "prefix"),
+ weechat_infolist_string (infolist, "message"));
break;
}
}