diff options
| author | Paul Fariello <paul@fariello.eu> | 2019-04-14 21:53:26 +0200 |
|---|---|---|
| committer | Paul Fariello <paul@fariello.eu> | 2019-04-14 21:53:26 +0200 |
| commit | cdc0290a59a331602ce1796e53b10a7c39630cda (patch) | |
| tree | 080b4198531bd8cc17c47b0d49ed1bce03419b5f /src | |
| parent | 0857b5ee4e40480cf9a3c543f93b5240f0d11b04 (diff) | |
| download | profani-tty-cdc0290a59a331602ce1796e53b10a7c39630cda.tar.gz | |
Handle message without id in MUC
Some clients seems to send message without id.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/mucwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |