25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

reply to suscriptions options queries with unsupported feature error (EJAB-713)

SVN Revision: 1716
This commit is contained in:
Christophe Romain 2008-12-08 21:17:46 +00:00
parent c443ee4f4a
commit dceb817853
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,8 @@
* src/mod_pubsub/node_flat.erl: renamed from node_zoo
* src/mod_pubsub/mod_pubsub.erl: reply to suscriptions options queries
with unsupported feature error (EJAB-713)
2008-12-08 Mickael Remond <mremond@process-one.net>

View File

@ -949,6 +949,10 @@ iq_pubsub(Host, ServerHost, From, IQType, SubEl, _Lang, Access, Plugins) ->
get_subscriptions(Host, From, Plugins);
{get, "affiliations"} ->
get_affiliations(Host, From, Plugins);
{get, "options"} ->
{error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "subscription-options")};
{set, "options"} ->
{error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "subscription-options")};
_ ->
{error, ?ERR_FEATURE_NOT_IMPLEMENTED}
end;