mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
mod_s2s: Fix typo
This commit is contained in:
parent
6193d32da9
commit
364c78e249
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ function stream_callbacks.streamopened(session, attr)
|
|||
if session.secure and not session.cert_chain_status then check_cert_status(session); end
|
||||
|
||||
send("<?xml version='1.0'?>");
|
||||
send(stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
|
||||
send(st.stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
|
||||
["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host, to=session.from_host, version=(session.version > 0 and "1.0" or nil) }):top_tag());
|
||||
if session.version >= 1.0 then
|
||||
local features = st.stanza("stream:features");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue