Software /
code /
prosody
Changeset
4559:e2ee6aa50b6c
mod_s2s: Fix typo
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Feb 2012 23:14:21 +0100 |
parents | 4558:d312c8605ed7 |
children | 4560:edd775310112 |
files | plugins/s2s/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua Wed Feb 22 23:12:57 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Wed Feb 22 23:14:21 2012 +0100 @@ -192,7 +192,7 @@ 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");