1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

xfer: add buffer local variable "server" in DCC CHAT buffers

This commit is contained in:
Sébastien Helleu
2025-10-04 13:19:01 +02:00
parent d9ba00223b
commit 63313468c9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -386,6 +386,7 @@ xfer_chat_open_buffer (struct t_xfer *xfer)
weechat_hashtable_set (buffer_props, "input_prompt", xfer->local_nick);
weechat_hashtable_set (buffer_props, "localvar_set_type", "private");
weechat_hashtable_set (buffer_props, "localvar_set_nick", xfer->local_nick);
weechat_hashtable_set (buffer_props, "localvar_set_server", xfer->plugin_id);
weechat_hashtable_set (buffer_props, "localvar_set_channel", xfer->remote_nick);
weechat_hashtable_set (buffer_props, "localvar_set_tls_version", "cleartext");
weechat_hashtable_set (buffer_props, "highlight_words_add", "$nick");