diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-08-01 19:18:25 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-08-01 19:18:25 +0100 |
commit | d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d (patch) | |
tree | e13ceedb3e08cd99c72ad337367a3bb79323c1c7 /plugins/mod_pubsub | |
parent | 3072e924380b83fa03c022d7d33b1a98042f7344 (diff) | |
download | prosody-d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d.tar.gz prosody-d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d.zip |
pubsub.lib: Support for not-acceptable error
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index dc85db28..e37ca55b 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -27,6 +27,7 @@ local pubsub_errors = { ["invalid-options"] = { "modify", "bad-request", nil, "invalid-options" }; ["forbidden"] = { "auth", "forbidden" }; ["not-allowed"] = { "cancel", "not-allowed" }; + ["not-acceptable"] = { "modify", "not-acceptable" }; ["internal-server-error"] = { "wait", "internal-server-error" }; }; local function pubsub_error_reply(stanza, error) |