24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

Fix typo, oups...

This commit is contained in:
Christophe Romain 2015-04-21 16:13:23 +02:00
parent 61f80396da
commit cf37f3977a

View File

@ -3413,7 +3413,7 @@ broadcast_stanza(Host, _Node, _Nidx, _Type, NodeOptions, SubsByDepth, NotifyType
Stanza = add_message_type(BaseStanza, NotificationType), Stanza = add_message_type(BaseStanza, NotificationType),
%% Handles explicit subscriptions %% Handles explicit subscriptions
SubIDsByJID = subscribed_nodes_by_jid(NotifyType, SubsByDepth), SubIDsByJID = subscribed_nodes_by_jid(NotifyType, SubsByDepth),
lists:foreach(fun ({LJID, NodeName, SubIDs}) -> lists:foreach(fun ({LJID, _NodeName, SubIDs}) ->
LJIDs = case BroadcastAll of LJIDs = case BroadcastAll of
true -> true ->
{U, S, _} = LJID, {U, S, _} = LJID,
@ -3427,7 +3427,7 @@ broadcast_stanza(Host, _Node, _Nidx, _Type, NodeOptions, SubsByDepth, NotifyType
Stanza; Stanza;
%% If there's only one SubID, don't add it %% If there's only one SubID, don't add it
{true, [_]} -> {true, [_]} ->
Stnza; Stanza;
{true, SubIDs} -> {true, SubIDs} ->
add_shim_headers(Stanza, subid_shim(SubIDs)) add_shim_headers(Stanza, subid_shim(SubIDs))
end, end,