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:
parent
6e61932765
commit
13f7be682d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user