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
commitd3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d (patch)
treee13ceedb3e08cd99c72ad337367a3bb79323c1c7 /plugins/mod_pubsub/pubsub.lib.lua
parent3072e924380b83fa03c022d7d33b1a98042f7344 (diff)
downloadprosody-d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d.tar.gz
prosody-d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d.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)