From 779c2efc1710ed5d8b4fa60e00e85731b7bb7bd7 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 25 Feb 2020 16:33:28 +0100 Subject: Set muc history correctly in _handle_groupchat() Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2 --- src/xmpp/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit 1.4.1-2-gfad0