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 | 8e01ccceaaf00dda5211cbff6ac94ac474218f1b (patch) | |
tree | e13ceedb3e08cd99c72ad337367a3bb79323c1c7 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | 82655ffa2bdbacd0a31288961990e967c5b61142 (diff) | |
download | prosody-8e01ccceaaf00dda5211cbff6ac94ac474218f1b.tar.gz prosody-8e01ccceaaf00dda5211cbff6ac94ac474218f1b.zip |
pubsub.lib: Support for not-acceptable error
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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) |