]> granicus.if.org Git - ejabberd/commitdiff
reply to suscriptions options queries with unsupported feature error (EJAB-713)
authorChristophe Romain <christophe.romain@process-one.net>
Mon, 8 Dec 2008 21:17:46 +0000 (21:17 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Mon, 8 Dec 2008 21:17:46 +0000 (21:17 +0000)
SVN Revision: 1716

ChangeLog
src/mod_pubsub/mod_pubsub.erl

index f7cf256c2bce102878933bdfe69cc903e6c9b304..3ec6af245069ccd22baa5a1edb543a114107767c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
index 8a7c199c367eb370fbe455fbc216f6e4712cd7b0..471f3034692072cf1e6b029ecbf34c81cc759100 100644 (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;