merge/upstream-full #105

Manually merged
jabber.developer merged 407 commits from merge/upstream-full into master 2026-05-26 17:54:34 +00:00
403 changed files with 14801 additions and 37413 deletions
Showing only changes of commit c49ee8d415 - Show all commits

View File

@@ -2636,10 +2636,13 @@ iq_mam_request_older(ProfChatWin* win)
auto_gchar gchar* enddate = NULL;
// If first message found
if (first_msg->timestamp) {
if (first_msg && first_msg->timestamp) {
firstid = first_msg->stanzaid;
enddate = g_date_time_format(first_msg->timestamp, mam_timestamp_format_string);
} else {
if (first_msg) {
message_free(first_msg);
}
return;
}