aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-01 19:18:25 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-01 19:18:25 +0100
commit8e01ccceaaf00dda5211cbff6ac94ac474218f1b (patch)
treee13ceedb3e08cd99c72ad337367a3bb79323c1c7 /plugins/mod_pubsub/pubsub.lib.lua
parent82655ffa2bdbacd0a31288961990e967c5b61142 (diff)
downloadprosody-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.lua1
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)