From 13f7be682db03f5e09b93f5ca5e8daf73ac041a4 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 4 Aug 2015 21:16:45 +0200 Subject: [PATCH] Rename muc_filter_packet to muc_filter_message The hook is just triggered on groupchat messages, not on other types of stanzas. --- src/mod_muc_room.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 495852d5a..f505c3155 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -948,7 +948,7 @@ process_groupchat_message(From, case IsAllowed of true -> case - ejabberd_hooks:run_fold(muc_filter_packet, + ejabberd_hooks:run_fold(muc_filter_message, StateData#state.server_host, Packet, [StateData,