mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
irc: fix display of messages sent to server in raw buffer
Since the received messages are displayed without UTF-8 conversion (ie this is really the data received), it is consistent to display the message really sent to server (ie after charset conversion), instead of the UTF-8 internal message.
This commit is contained in:
@@ -23,6 +23,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
=== Bugs fixed
|
||||
|
||||
* irc: fix display of messages sent to server in raw buffer
|
||||
* irc: fix display of invalid UTF-8 chars in raw buffer
|
||||
|
||||
== Version 1.3 (2015-08-16)
|
||||
|
||||
@@ -2184,7 +2184,8 @@ irc_server_send_one_msg (struct t_irc_server *server, int flags,
|
||||
{
|
||||
if (first_message)
|
||||
{
|
||||
irc_raw_print (server, IRC_RAW_FLAG_SEND, message);
|
||||
irc_raw_print (server, IRC_RAW_FLAG_SEND,
|
||||
(msg_encoded) ? msg_encoded : message);
|
||||
}
|
||||
if (new_msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user