diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-25 16:33:28 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-25 16:34:43 +0100 |
commit | 779c2efc1710ed5d8b4fa60e00e85731b7bb7bd7 (patch) | |
tree | d8edb3ba8941672c1bfd6c7f5cf97859459d57e7 | |
parent | 063b5243f17331c4c578c687fc18bcec4f203507 (diff) | |
download | profani-tty-779c2efc1710ed5d8b4fa60e00e85731b7bb7bd7.tar.gz |
Set muc history correctly in _handle_groupchat()
Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2
-rw-r--r-- | src/xmpp/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c index 41ab6a81..dee41baa 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -872,7 +872,7 @@ _handle_groupchat(xmpp_stanza_t *const stanza) message->timestamp = stanza_get_delay_from(stanza, jid->domainpart); } - bool is_muc_history; + bool is_muc_history = FALSE; if (message->timestamp != NULL) { is_muc_history = TRUE; g_date_time_unref(message->timestamp); |