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 | 8e393a01c6206e708346664d834408063fdb0ad9 (patch) | |
tree | 91294bafc69120cf038df2ff939ecd8b4b039070 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | d61f5d7c910d778e33de87b90e204bb73b6a498e (diff) | |
download | prosody-8e393a01c6206e708346664d834408063fdb0ad9.tar.gz prosody-8e393a01c6206e708346664d834408063fdb0ad9.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]; |