mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Handle message without id in MUC
Some clients seems to send message without id.
This commit is contained in:
parent
0857b5ee4e
commit
cdc0290a59
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user