From 58e4b98d6112a177f7e44bab89250effa5d7a61f Mon Sep 17 00:00:00 2001 From: Pablo Polvorin Date: Fri, 27 Feb 2009 21:09:44 +0000 Subject: [PATCH] Fix small bug introduced in revision 1924. SVN Revision: 1929 --- src/mod_pubsub/node_default.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub/node_default.erl b/src/mod_pubsub/node_default.erl index adf3f1cf3..a326cbf78 100644 --- a/src/mod_pubsub/node_default.erl +++ b/src/mod_pubsub/node_default.erl @@ -592,7 +592,7 @@ set_affiliation(Host, Node, Owner, Affiliation) -> %% that will be added to the affiliation stored in the main %% pubsub_state table.

get_entity_subscriptions(Host, Owner) -> - SubKey = jlib:short_prepd_jid(Owner), + {U, D, _} = SubKey = jlib:short_prepd_jid(Owner), GenKey = jlib:short_prepd_bare_jid(SubKey), States = case SubKey of GenKey -> mnesia:match_object(