From a704838152b9aec0bef2446f742b1eb548f71d1a Mon Sep 17 00:00:00 2001 From: MarcoPolo-PasTonMolo Date: Sat, 20 Aug 2022 22:48:02 +0300 Subject: Handle late delivery --- src/event/server_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event') diff --git a/src/event/server_events.c b/src/event/server_events.c index 26c4963e..8c1ee04f 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -640,8 +640,8 @@ sv_ev_incoming_message(ProfMessage* message) new_win = TRUE; if (prefs_get_boolean(PREF_MAM)) { - iq_mam_request(chatwin); win_print_loading_history(window); + iq_mam_request(chatwin, g_date_time_add_seconds(message->timestamp, 0)); // copy timestamp } #ifdef HAVE_OMEMO -- cgit 1.4.1-2-gfad0