1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -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:
Michael Vetter 2019-04-15 10:43:39 +02:00 committed by GitHub
commit 02d0f7fc38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,7 +506,7 @@ mucwin_incoming_msg(ProfMucWin *mucwin, const char *const nick, const char *cons
{ {
assert(mucwin != NULL); 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 */ /* Ignore reflection messages */
return; return;
} }