Avoid badfun in multicast/6

This commit is contained in:
Evgeny Khramtsov 2018-12-07 21:34:49 +03:00
parent 0e954da3fa
commit a5ac1d15e7
1 changed files with 2 additions and 1 deletions

View File

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