1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

irc: set "input_multiline" to 1 in buffers only if capability draft/multiline is enabled (issue #1923)

This commit is contained in:
Sébastien Helleu
2023-05-14 10:43:10 +02:00
parent 537d18ede5
commit c31af39ada
5 changed files with 46 additions and 4 deletions
@@ -807,6 +807,7 @@ TEST(IrcProtocolWithServer, batch)
/* assume "batch" and "draft/multiline" capabilities are enabled in server */
hashtable_set (ptr_server->cap_list, "batch", NULL);
hashtable_set (ptr_server->cap_list, "draft/multiline", NULL);
irc_server_buffer_set_input_multiline (ptr_server, 1);
/* not enough parameters */
RECV(":server BATCH");