25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Rename muc_filter_packet to muc_filter_message

The hook is just triggered on groupchat messages, not on other types of
stanzas.
This commit is contained in:
Holger Weiss 2015-08-04 21:16:45 +02:00
parent 6e61932765
commit 13f7be682d

View File

@ -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,