Diff

plugins/mod_pubsub/pubsub.lib.lua @ 8953:19cbe80df9c8

mod_pubsub: Make pubsub.lib aware of internal-server-error condition
author Kim Alvefur <zash@zash.se>
date Sun, 01 Jul 2018 04:32:26 +0200
parent 8940:365b16109d95
child 8978:9d6c0c11e383
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Sun Jul 01 04:46:37 2018 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Sun Jul 01 04:32:26 2018 +0200
@@ -26,6 +26,7 @@
 	["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];