diff options
| author | Michael Vetter <jubalh@iodoru.org> | 2019-04-15 10:43:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-15 10:43:39 +0200 |
| commit | 02d0f7fc38f8b8017328a26cb7fc2cc8d2c34cd6 (patch) | |
| tree | 092ac4174b78d729131acd549e8effa416e599cf /src | |
| parent | a22ddb33066c9f2a246432a328bbdfb6900b56da (diff) | |
| parent | cdc0290a59a331602ce1796e53b10a7c39630cda (diff) | |
| download | profani-tty-02d0f7fc38f8b8017328a26cb7fc2cc8d2c34cd6.tar.gz | |
Merge pull request #1061 from paulfariello/hotfix/handle-message-without-id-in-muc
Handle message without id in MUC
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; } |