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:
@@ -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))
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user