diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-06 15:21:45 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-06 15:33:01 +0200 |
commit | 067bc690f28f32b59714579608a5f1469b1f5212 (patch) | |
tree | d62b6ea7402372fde6b9e933fe807593439705d8 /src/ui/chatwin.c | |
parent | 0942d98c6116dc4b9b608e7483f1d6a8f62c84d7 (diff) | |
download | profani-tty-067bc690f28f32b59714579608a5f1469b1f5212.tar.gz |
Adapt win_print_history() to work with muc too
Diffstat (limited to 'src/ui/chatwin.c')
-rw-r--r-- | src/ui/chatwin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index 93cc9525..34bf3902 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -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; |