1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-02 06:11:11 +00:00

Merge pull request #49 from ailin-nemui/dccmsgs

fix stuck meta on dcc chat
This commit is contained in:
ailin-nemui 2021-11-10 14:12:47 +01:00 committed by GitHub
commit a54a00c803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

6
NEWS
View File

@ -1,13 +1,13 @@
v1.4-head-an 2022-xx-xx Ailin Nemui <Nei>
v1.3.0-an 2021-10-11 Ailin Nemui <Nei>
v1.3.0-an 2021-11-11 Ailin Nemui <Nei>
* /SET resolve_reverse_lookup setting was removed (#1135)
* Irssi will try to connect on IPv4 if IPv6 connection failed
(#1146). By Shivaram Lingamneni
* The display system now renders formats on the fly (#1079,
#1188, #1191, #1192, #1204, #1205, #1209, #1349, an#13,
an#14, an#28, an#29, an#36, an#37)
#1188, #1191, #1192, #1204, #1205, #1209, #1349, #1355,
an#13, an#14, an#28, an#29, an#36, an#37, an#49)
This major change will break scripts that try to modify
printed text during "print text" signal (#1189). They need

View File

@ -318,13 +318,17 @@ void dcc_chat_input(CHAT_DCC_REC *dcc)
}
if (ret > 0) {
SERVER_REC *server;
char *recoded;
dcc->transfd += ret;
recoded = recode_in(SERVER(dcc->server), str, dcc->nick);
server = SERVER(dcc->server);
recoded = recode_in(server, str, dcc->nick);
signal_emit("dcc chat message", 2, dcc, recoded);
g_free(recoded);
if (server != NULL)
server_meta_clear_all(server);
}
} while (ret > 0);
}