mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_tls: :up() out of the starttls tag in stream:features
This commit is contained in:
parent
7f7fb4b522
commit
c6ec71bee0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module:add_event_hook("s2s-stream-features",
|
|||
-- This hook is possibly called once per host (at least if the
|
||||
-- remote server does not specify a to/from.
|
||||
if session.conn.starttls and not features:child_with_ns(xmlns_starttls) then
|
||||
features:tag("starttls", starttls_attr);
|
||||
features:tag("starttls", starttls_attr):up();
|
||||
-- TODO: Make this optional :P
|
||||
--features:tag("required"):up():up();
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue