diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-07 18:36:13 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-12 20:37:45 +0100 |
commit | 29d4bc31028512f7d8a1f669997e0f6860c092bc (patch) | |
tree | 32f70678d1af45e0cd02fe74994eabab55097fcc /src/plugins | |
parent | f9e8c7faab0e318fc2f1b4285631eb9312bbb93f (diff) | |
download | weechat-29d4bc31028512f7d8a1f669997e0f6860c092bc.zip |
relay/api: add buffer is in response to GET /api/buffers (issue #2081)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/api/relay-api-msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/relay/api/relay-api-msg.c b/src/plugins/relay/api/relay-api-msg.c index cdb20439a..4a5bfdfbc 100644 --- a/src/plugins/relay/api/relay-api-msg.c +++ b/src/plugins/relay/api/relay-api-msg.c @@ -346,6 +346,7 @@ relay_api_msg_buffer_to_json (struct t_gui_buffer *buffer, if (!buffer) return json; + MSG_ADD_HDATA_VAR(Number, "id", longlong, "id"); MSG_ADD_HDATA_STR("name", "full_name"); MSG_ADD_HDATA_STR("short_name", "short_name"); MSG_ADD_HDATA_VAR(Number, "number", integer, "number"); |