mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_component: Return true from stanza handler to indicate that we actually did handle the stanza.
This commit is contained in:
parent
e62e7d0162
commit
42993c2ec2
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ local function handle_stanza(event)
|
|||
event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable"));
|
||||
end
|
||||
end
|
||||
return true;
|
||||
end
|
||||
|
||||
module:hook("iq/bare", handle_stanza);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue