# HG changeset patch # User Matthew Wild # Date 1533147505 -3600 # Node ID 00d89430d77e59de721428399a54917de79a4d8d # Parent 46d4322f7eedd9c43fd55b432093efed91132e89 pubsub.lib: Support for not-acceptable error diff -r 46d4322f7eed -r 00d89430d77e plugins/mod_pubsub/pubsub.lib.lua --- 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)