From d3ebf8d0ea686ffc2bd70f3bc795443e0e75af5d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 1 Aug 2018 19:18:25 +0100 Subject: pubsub.lib: Support for not-acceptable error --- plugins/mod_pubsub/pubsub.lib.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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) -- cgit v1.2.3