1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Handle message without id in MUC

Some clients seems to send message without id.
This commit is contained in:
Paul Fariello 2019-04-14 21:53:26 +02:00
parent 0857b5ee4e
commit cdc0290a59

View File

@ -506,7 +506,7 @@ mucwin_incoming_msg(ProfMucWin *mucwin, const char *const nick, const char *cons
{
assert(mucwin != NULL);
if (g_hash_table_remove(mucwin->sent_messages, id)) {
if (id && g_hash_table_remove(mucwin->sent_messages, id)) {
/* Ignore reflection messages */
return;
}