Changeset

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
parents 8952:15bb54f96dd1
children 8954:3b6095686498
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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];