mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix events broadcasting via C2S
This commit is contained in:
parent
9ff3ce8bd1
commit
3d3a4f7543
@ -1693,7 +1693,7 @@ handle_info({broadcast, Type, From, Packet}, StateName, StateData) ->
|
||||
Recipients = ejabberd_hooks:run_fold(
|
||||
c2s_broadcast_recipients, StateData#state.server,
|
||||
[],
|
||||
[StateData, Type, From, Packet]),
|
||||
[StateData#state.server, StateData, Type, From, Packet]),
|
||||
lists:foreach(
|
||||
fun(USR) ->
|
||||
ejabberd_router:route(
|
||||
|
Loading…
Reference in New Issue
Block a user