Add win_print_history

This commit is contained in:
James Booth
2016-10-15 20:55:45 +01:00
parent f761d403b3
commit c814cb44b8
4 changed files with 23 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ mucwin_history(ProfMucWin *mucwin, const char *const nick, GDateTime *timestamp,
g_string_append(line, message);
}
win_printf(window, '-', 0, timestamp, NO_COLOUR_DATE, 0, "", "%s", line->str);
win_print_history(window, timestamp, "%s", line->str);
g_string_free(line, TRUE);
plugins_on_room_history_message(mucwin->roomjid, nick, message, timestamp);