From cdc0290a59a331602ce1796e53b10a7c39630cda Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Sun, 14 Apr 2019 21:53:26 +0200 Subject: [PATCH] Handle message without id in MUC Some clients seems to send message without id. --- src/ui/mucwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 0122950a..cdac610f 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -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; }