mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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
|
case IsAllowed of
|
||||||
true ->
|
true ->
|
||||||
case
|
case
|
||||||
ejabberd_hooks:run_fold(muc_filter_packet,
|
ejabberd_hooks:run_fold(muc_filter_message,
|
||||||
StateData#state.server_host,
|
StateData#state.server_host,
|
||||||
Packet,
|
Packet,
|
||||||
[StateData,
|
[StateData,
|
||||||
|
Loading…
Reference in New Issue
Block a user