mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
typo fix (thanks to Artem Sh)(EJAB-1424)
This commit is contained in:
parent
84486dcb2c
commit
900b013658
@ -216,7 +216,7 @@ get_entity_subscriptions(_Host, Owner) ->
|
|||||||
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
|
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
|
||||||
lists:map(fun({H, N, T, I, J, S}) ->
|
lists:map(fun({H, N, T, I, J, S}) ->
|
||||||
O = node_hometree_odbc:decode_jid(H),
|
O = node_hometree_odbc:decode_jid(H),
|
||||||
Node = nodetree_odbc:raw_to_node(O, {N, "", T, I}),
|
Node = nodetree_tree_odbc:raw_to_node(O, {N, "", T, I}),
|
||||||
{Node, node_hometree_odbc:decode_subscriptions(S), node_hometree_odbc:decode_jid(J)}
|
{Node, node_hometree_odbc:decode_subscriptions(S), node_hometree_odbc:decode_jid(J)}
|
||||||
end, RItems);
|
end, RItems);
|
||||||
_ ->
|
_ ->
|
||||||
@ -250,7 +250,7 @@ get_entity_subscriptions_for_send_last(_Host, Owner) ->
|
|||||||
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
|
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
|
||||||
lists:map(fun({H, N, T, I, J, S}) ->
|
lists:map(fun({H, N, T, I, J, S}) ->
|
||||||
O = node_hometree_odbc:decode_jid(H),
|
O = node_hometree_odbc:decode_jid(H),
|
||||||
Node = nodetree_odbc:raw_to_node(O, {N, "", T, I}),
|
Node = nodetree_tree_odbc:raw_to_node(O, {N, "", T, I}),
|
||||||
{Node, node_hometree_odbc:decode_subscriptions(S), node_hometree_odbc:decode_jid(J)}
|
{Node, node_hometree_odbc:decode_subscriptions(S), node_hometree_odbc:decode_jid(J)}
|
||||||
end, RItems);
|
end, RItems);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user