0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-07-05 17:28:00 -04:00

Set muc history correctly in _handle_groupchat()

Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2
This commit is contained in:
Michael Vetter 2020-02-25 16:33:28 +01:00
parent 063b5243f1
commit 779c2efc17

View File

@ -872,7 +872,7 @@ _handle_groupchat(xmpp_stanza_t *const stanza)
message->timestamp = stanza_get_delay_from(stanza, jid->domainpart); message->timestamp = stanza_get_delay_from(stanza, jid->domainpart);
} }
bool is_muc_history; bool is_muc_history = FALSE;
if (message->timestamp != NULL) { if (message->timestamp != NULL) {
is_muc_history = TRUE; is_muc_history = TRUE;
g_date_time_unref(message->timestamp); g_date_time_unref(message->timestamp);