plugins/mod_component.lua
changeset 11038 233196135048
parent 10720 29575fe64860
child 11039 ba1143ddae9b
--- a/plugins/mod_component.lua	Fri Aug 21 14:14:29 2020 +0100
+++ b/plugins/mod_component.lua	Mon Apr 13 02:46:03 2020 +0200
@@ -132,7 +132,7 @@
 			end
 			module:log("warn", "Component not connected, bouncing error for: %s", stanza:top_tag());
 			if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
-				event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable", module.host));
+				event.origin.send(st.error_reply(stanza, "wait", "remote-server-timeout", "Component unavailable", module.host));
 			end
 		end
 		return true;