diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-12-07 21:34:49 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-12-07 21:34:49 +0300 |
commit | a5ac1d15e75468e1d8e8d8157b531ebac52798ee (patch) | |
tree | eb9a13d7a766eb54e84f37c0288c7f751c973b86 /src/mod_mix.erl | |
parent | Fix wording (diff) |
Avoid badfun in multicast/6
Diffstat (limited to 'src/mod_mix.erl')
-rw-r--r-- | src/mod_mix.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_mix.erl b/src/mod_mix.erl index 641d4e3a..5625beac 100644 --- a/src/mod_mix.erl +++ b/src/mod_mix.erl @@ -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) -> |