mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 04:46:20 +00:00
Set muc history correctly in _handle_groupchat()
Fix init. mistake introduced in e9c5c1979d
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user