mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
relay/api: add field "tmie_displayed" in GET /api/buffers
This commit is contained in:
@@ -390,6 +390,7 @@ relay_api_msg_buffer_to_json (struct t_gui_buffer *buffer,
|
||||
MSG_ADD_HDATA_VAR(Bool, "nicklist", integer, "nicklist");
|
||||
MSG_ADD_HDATA_VAR(Bool, "nicklist_case_sensitive", integer, "nicklist_case_sensitive");
|
||||
MSG_ADD_HDATA_VAR(Bool, "nicklist_display_groups", integer, "nicklist_display_groups");
|
||||
MSG_ADD_HDATA_VAR(Bool, "time_displayed", integer, "time_for_each_line");
|
||||
|
||||
/* local_variables */
|
||||
json_local_vars = cJSON_CreateObject ();
|
||||
|
||||
@@ -633,6 +633,10 @@ components:
|
||||
type: boolean
|
||||
description: groups are displayed in nicklist
|
||||
example: false
|
||||
time_displayed:
|
||||
type: boolean
|
||||
description: time is displayed on each line
|
||||
example: true
|
||||
local_variables:
|
||||
type: object
|
||||
description: the buffer local variables
|
||||
@@ -670,6 +674,7 @@ components:
|
||||
- nicklist
|
||||
- nicklist_case_sensitive
|
||||
- nicklist_display_groups
|
||||
- time_displayed
|
||||
- local_variables
|
||||
- keys
|
||||
Key:
|
||||
|
||||
Reference in New Issue
Block a user