diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-01 04:32:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-01 04:32:26 +0200 |
commit | 530ceb8a401296d38aa5c38ee150ecb42fb654e6 (patch) | |
tree | 91294bafc69120cf038df2ff939ecd8b4b039070 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | 3d14011cf28b454d0243782e68d943b25f7c6013 (diff) | |
download | prosody-530ceb8a401296d38aa5c38ee150ecb42fb654e6.tar.gz prosody-530ceb8a401296d38aa5c38ee150ecb42fb654e6.zip |
mod_pubsub: Make pubsub.lib aware of internal-server-error condition
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 2ec6e8de..4ed4bc86 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -26,6 +26,7 @@ local pubsub_errors = { ["not-subscribed"] = { "modify", "unexpected-request", nil, "not-subscribed" }; ["forbidden"] = { "auth", "forbidden" }; ["not-allowed"] = { "cancel", "not-allowed" }; + ["internal-server-error"] = { "wait", "internal-server-error" }; }; local function pubsub_error_reply(stanza, error) local e = pubsub_errors[error]; |