about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-25 16:33:28 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-25 16:34:43 +0100
commit779c2efc1710ed5d8b4fa60e00e85731b7bb7bd7 (patch)
treed8edb3ba8941672c1bfd6c7f5cf97859459d57e7 /src/xmpp
parent063b5243f17331c4c578c687fc18bcec4f203507 (diff)
downloadprofani-tty-779c2efc1710ed5d8b4fa60e00e85731b7bb7bd7.tar.gz
Set muc history correctly in _handle_groupchat()
Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c2
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);