Refactor mucwin_history()

Just pass ProfMessage.
This commit is contained in:
Michael Vetter
2020-02-19 16:57:37 +01:00
parent cf36a92dcb
commit 6aa793fca6
3 changed files with 9 additions and 8 deletions

View File

@@ -286,7 +286,7 @@ sv_ev_room_history(ProfMessage *message)
gboolean younger = g_date_time_compare(mucwin->last_msg_timestamp, message->timestamp) < 0 ? TRUE : FALSE;
if (ev_is_first_connect() || younger ) {
mucwin_history(mucwin, message->jid->resourcepart, message->timestamp, message->plain);
mucwin_history(mucwin, message);
}
}
}