mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Removed plugin hook call for MUC history
This commit is contained in:
parent
412dc13629
commit
3705437a60
@ -230,10 +230,7 @@ sv_ev_room_history(const char *const room_jid, const char *const nick,
|
|||||||
{
|
{
|
||||||
ProfMucWin *mucwin = wins_get_muc(room_jid);
|
ProfMucWin *mucwin = wins_get_muc(room_jid);
|
||||||
if (mucwin) {
|
if (mucwin) {
|
||||||
char *new_message = plugins_pre_room_message_display(room_jid, nick, message);
|
mucwin_history(mucwin, nick, timestamp, message);
|
||||||
mucwin_history(mucwin, nick, timestamp, new_message);
|
|
||||||
plugins_post_room_message_display(room_jid, nick, new_message);
|
|
||||||
free(new_message);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user