diff options
author | James Booth <boothj5@gmail.com> | 2016-04-08 00:11:33 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-08 00:11:33 +0100 |
commit | 93672eba9f625800406aaf89e43d43a4dbc58dde (patch) | |
tree | da966c6b1250db5acf378bb7c132236793931f65 /src/ui | |
parent | 2f432a942d3c72f5fb3f25775b8ea52cd92b612d (diff) | |
download | profani-tty-93672eba9f625800406aaf89e43d43a4dbc58dde.tar.gz |
Plugins: Added on_room_history_message
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/mucwin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 0b3c65f7..8ef40f82 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -43,6 +43,7 @@ #include "log.h" #include "config/preferences.h" #include "ui/window.h" +#include "plugins/plugins.h" void mucwin_role_change(ProfMucWin *mucwin, const char *const role, const char *const actor, const char *const reason) @@ -356,6 +357,8 @@ mucwin_history(ProfMucWin *mucwin, const char *const nick, GDateTime *timestamp, win_print(window, '-', 0, timestamp, NO_COLOUR_DATE, 0, "", line->str); g_string_free(line, TRUE); + + plugins_on_room_history_message(mucwin->roomjid, nick, message, timestamp); } static void |