Adapt win_print_history() to work with muc too

This commit is contained in:
Michael Vetter
2020-04-06 15:21:45 +02:00
parent 0942d98c61
commit 067bc690f2
5 changed files with 27 additions and 24 deletions

View File

@@ -486,8 +486,7 @@ _chatwin_history(ProfChatWin *chatwin, const char *const contact_barejid)
while (curr) {
ProfMessage *msg = curr->data;
// TODO: sender is lost right now
win_print_history((ProfWin*)chatwin, msg->timestamp, msg->plain);
win_print_history((ProfWin*)chatwin, msg, FALSE);
curr = g_slist_next(curr);
}
chatwin->history_shown = TRUE;