1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +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
@@ -18,6 +18,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
- irc: request and perform SASL authentication when the server advertises SASL support with message "CAP NEW" ([#2277](https://github.com/weechat/weechat/issues/2277))
- logger: change default time format to `%@%F %T.%fZ` (UTC) ([#886](https://github.com/weechat/weechat/issues/886))
- logger: use function util_parse_time to parse date/time in log files ([#886](https://github.com/weechat/weechat/issues/886))
- xfer: add buffer local variable "server" in DCC CHAT buffers
- build: require Curl ≥ 7.68.0 ([#2268](https://github.com/weechat/weechat/issues/2268))
- build: require GnuTLS ≥ 3.6.3 ([#2268](https://github.com/weechat/weechat/issues/2268))
- build: require libgcrypt ≥ 1.8.0 ([#2268](https://github.com/weechat/weechat/issues/2268))
+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");