mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix small bug introduced in revision 1924.
SVN Revision: 1929
This commit is contained in:
parent
c73e87e9c8
commit
58e4b98d61
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user