diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-01 08:51:11 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-07 13:18:13 +0200 |
commit | 3cce916035ed4a99c765aa885555a2cc96e95a92 (patch) | |
tree | 1242832a1ad97021de3a7c0dff4477fbaf069413 /src/plugins/relay/api | |
parent | 64db1b958dbf9a21ae67a0829b74eb20be3ff697 (diff) | |
download | weechat-3cce916035ed4a99c765aa885555a2cc96e95a92.zip |
relay/api: add fields "displayed" and "notify_level" in lines returned (issue #2066)
Diffstat (limited to 'src/plugins/relay/api')
-rw-r--r-- | src/plugins/relay/api/relay-api-msg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/relay/api/relay-api-msg.c b/src/plugins/relay/api/relay-api-msg.c index d6af528f9..a1bc019b9 100644 --- a/src/plugins/relay/api/relay-api-msg.c +++ b/src/plugins/relay/api/relay-api-msg.c @@ -455,7 +455,9 @@ relay_api_msg_line_data_to_json (struct t_gui_line_data *line_data, MSG_ADD_HDATA_VAR(Number, "y", integer, "y"); MSG_ADD_HDATA_TIME_USEC("date", "date", "date_usec"); MSG_ADD_HDATA_TIME_USEC("date_printed", "date_printed", "date_usec_printed"); + MSG_ADD_HDATA_VAR(Bool, "displayed", char, "displayed"); MSG_ADD_HDATA_VAR(Bool, "highlight", char, "highlight"); + MSG_ADD_HDATA_VAR(Number, "notify_level", char, "notify_level"); MSG_ADD_HDATA_STR_COLORS("prefix", "prefix"); MSG_ADD_HDATA_STR_COLORS("message", "message"); |