Changeset

9076:00d89430d77e

pubsub.lib: Support for not-acceptable error
author Matthew Wild <mwild1@gmail.com>
date Wed, 01 Aug 2018 19:18:25 +0100
parents 9075:46d4322f7eed
children 9077:aefb96a52f5f
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Wed Aug 01 19:18:07 2018 +0100
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Wed Aug 01 19:18:25 2018 +0100
@@ -27,6 +27,7 @@
 	["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)