Software /
code /
prosody
Diff
core/sessionmanager.lua @ 1452:0ae8787e4e7d
Merged with trunk
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Jul 2009 00:47:21 +0500 |
parent | 1450:c1c7b27b983b |
child | 1469:9f2b6e2bc498 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Thu Jul 02 00:43:32 2009 +0500 +++ b/core/sessionmanager.lua Thu Jul 02 00:47:21 2009 +0500 @@ -165,7 +165,7 @@ (session.log or session)("debug", "Client sent opening <stream:stream> to %s", session.host); send("<?xml version='1.0'?>"); - send(format("<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='%s' from='%s' version='1.0'>", session.streamid, session.host)); + send(format("<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='%s' from='%s' version='1.0' xml:lang='en'>", session.streamid, session.host)); if not hosts[session.host] then -- We don't serve this host...