mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Avoid badfun in multicast/6
This commit is contained in:
parent
0e954da3fa
commit
a5ac1d15e7
@ -578,7 +578,8 @@ notify_participant_left(Mod, LServer, To, ID) ->
|
||||
Msg = #message{from = jid:remove_resource(To),
|
||||
id = p1_rand:get_string(),
|
||||
sub_els = [Event]},
|
||||
multicast(Mod, LServer, Chan, Host, ?NS_MIX_NODES_PARTICIPANTS, Msg).
|
||||
multicast(Mod, LServer, Chan, Host, ?NS_MIX_NODES_PARTICIPANTS,
|
||||
fun(_) -> Msg end).
|
||||
|
||||
-spec make_id(jid(), binary()) -> binary().
|
||||
make_id(JID, Key) ->
|
||||
|
Loading…
Reference in New Issue
Block a user