mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
relay/api: add field "last_read_line_id" in GET /api/buffers
This commit is contained in:
@@ -177,6 +177,7 @@ TEST(RelayApiMsg, BufferToJson)
|
||||
WEE_CHECK_OBJ_STR("core", json_local_vars, "plugin");
|
||||
WEE_CHECK_OBJ_STR("weechat", json_local_vars, "name");
|
||||
POINTERS_EQUAL(NULL, cJSON_GetObjectItem (json, "lines"));
|
||||
WEE_CHECK_OBJ_NUM(-1, json, "last_read_line_id");
|
||||
POINTERS_EQUAL(NULL, cJSON_GetObjectItem (json, "nicks"));
|
||||
cJSON_Delete (json);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user