parent
55942d1f4a
commit
abbfa96fc4
|
@ -2012,7 +2012,7 @@ get_subscriptions(Host, Node, JID) ->
|
||||||
if
|
if
|
||||||
not RetrieveFeature ->
|
not RetrieveFeature ->
|
||||||
%% Service does not support manage subscriptions
|
%% Service does not support manage subscriptions
|
||||||
{error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "manage-affiliations")};
|
{error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "manage-subscriptions")};
|
||||||
Affiliation /= {result, owner} ->
|
Affiliation /= {result, owner} ->
|
||||||
%% Entity is not an owner
|
%% Entity is not an owner
|
||||||
{error, ?ERR_FORBIDDEN};
|
{error, ?ERR_FORBIDDEN};
|
||||||
|
|
Loading…
Reference in New Issue