1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Removed plugin hook call for MUC history

This commit is contained in:
James Booth 2016-02-18 22:59:00 +00:00
parent 412dc13629
commit 3705437a60

View File

@ -230,10 +230,7 @@ sv_ev_room_history(const char *const room_jid, const char *const nick,
{
ProfMucWin *mucwin = wins_get_muc(room_jid);
if (mucwin) {
char *new_message = plugins_pre_room_message_display(room_jid, nick, message);
mucwin_history(mucwin, nick, timestamp, new_message);
plugins_post_room_message_display(room_jid, nick, new_message);
free(new_message);
mucwin_history(mucwin, nick, timestamp, message);
}
}