aboutsummaryrefslogtreecommitdiff
path: root/src/mod_pubsub
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2011-08-25 17:22:48 +0200
committerChristophe Romain <christophe.romain@process-one.net>2011-08-25 17:22:48 +0200
commit900b013658d2d2a7ca99651b096c94b75a4ce07d (patch)
treea746b7dd98f9c556dc92efe9659778daac8720e2 /src/mod_pubsub
parentSupport multiple sessions per nick in muc_online_users, relevant for max_user... (diff)
typo fix (thanks to Artem Sh)(EJAB-1424)
Diffstat (limited to 'src/mod_pubsub')
-rw-r--r--src/mod_pubsub/node_pep_odbc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub/node_pep_odbc.erl b/src/mod_pubsub/node_pep_odbc.erl
index d6cda1cda..44c11cb5a 100644
--- a/src/mod_pubsub/node_pep_odbc.erl
+++ b/src/mod_pubsub/node_pep_odbc.erl
@@ -216,7 +216,7 @@ get_entity_subscriptions(_Host, Owner) ->
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
lists:map(fun({H, N, T, I, J, S}) ->
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)}
end, RItems);
_ ->
@@ -250,7 +250,7 @@ get_entity_subscriptions_for_send_last(_Host, Owner) ->
{selected, ["host", "node", "type", "nodeid", "jid", "subscriptions"], RItems} ->
lists:map(fun({H, N, T, I, J, S}) ->
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)}
end, RItems);
_ ->