From 9d404971da520de180723ac2bbd6aad69294d0c8 Mon Sep 17 00:00:00 2001 From: Dustin Lagoy Date: Tue, 27 Apr 2021 20:42:30 -0400 Subject: [PATCH] Apply pre_chat_message_display hook to history --- src/ui/chatwin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index e1ec1968..47345709 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -519,6 +519,7 @@ _chatwin_history(ProfChatWin* chatwin, const char* const contact_barejid) while (curr) { ProfMessage* msg = curr->data; + msg->plain = plugins_pre_chat_message_display(msg->from_jid->barejid, msg->from_jid->resourcepart, msg->plain); win_print_history((ProfWin*)chatwin, msg); curr = g_slist_next(curr); }