mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge pull request #1061 from paulfariello/hotfix/handle-message-without-id-in-muc
Handle message without id in MUC
This commit is contained in:
commit
02d0f7fc38
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user