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

Fix small bug introduced in revision 1924.

SVN Revision: 1929
This commit is contained in:
Pablo Polvorin 2009-02-27 21:09:44 +00:00
parent c73e87e9c8
commit 58e4b98d61

View File

@ -592,7 +592,7 @@ set_affiliation(Host, Node, Owner, Affiliation) ->
%% that will be added to the affiliation stored in the main
%% <tt>pubsub_state</tt> table.</p>
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(