1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Set muc history correctly in _handle_groupchat()

Fix init. mistake introduced in e9c5c1979d
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);
}
bool is_muc_history;
bool is_muc_history = FALSE;
if (message->timestamp != NULL) {
is_muc_history = TRUE;
g_date_time_unref(message->timestamp);