From: Badlop Date: Sat, 28 Feb 2009 00:01:27 +0000 (+0000) Subject: Fix small compilation error introduced in revision 1923 X-Git-Tag: v2.1.0~18^2~421 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=117b67a31c0884971cfb9729a76ec3e90f954193;p=ejabberd Fix small compilation error introduced in revision 1923 SVN Revision: 1931 --- diff --git a/src/mod_pubsub/node_default.erl b/src/mod_pubsub/node_default.erl index 37d18cd7d..bcca00433 100644 --- a/src/mod_pubsub/node_default.erl +++ b/src/mod_pubsub/node_default.erl @@ -595,7 +595,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:jid_tolower(Owner), + {U, D, _} = SubKey = jlib:jid_tolower(Owner), GenKey = jlib:jid_remove_resource(SubKey), States = case SubKey of GenKey -> mnesia:match_object(