Merge pull request #1061 from paulfariello/hotfix/handle-message-without-id-in-muc

Handle message without id in MUC
This commit is contained in:
Michael Vetter
2019-04-15 10:43:39 +02:00
committed by GitHub

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;
}