equal
deleted
inserted
replaced
130 end |
130 end |
131 end |
131 end |
132 end |
132 end |
133 module:log("warn", "Component not connected, bouncing error for: %s", stanza:top_tag()); |
133 module:log("warn", "Component not connected, bouncing error for: %s", stanza:top_tag()); |
134 if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then |
134 if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then |
135 event.origin.send(st.error_reply(stanza, "wait", "remote-server-timeout", "Component unavailable", module.host)); |
135 event.origin.send(st.error_reply(stanza, "wait", "remote-server-timeout", "Component unavailable", module.host) |
|
136 :tag("not-connected", { xmlns = "xmpp:prosody.im/protocol/component" })); |
136 end |
137 end |
137 end |
138 end |
138 return true; |
139 return true; |
139 end |
140 end |
140 |
141 |