Commit a1ab14c3 authored by csh's avatar csh

OF-717 use session.getServername()

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13963 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8e55c409
...@@ -367,7 +367,7 @@ public class HttpSessionManager { ...@@ -367,7 +367,7 @@ public class HttpSessionManager {
Element response = DocumentHelper.createElement("body"); Element response = DocumentHelper.createElement("body");
response.addNamespace("", "http://jabber.org/protocol/httpbind"); response.addNamespace("", "http://jabber.org/protocol/httpbind");
response.addNamespace("stream", "http://etherx.jabber.org/streams"); response.addNamespace("stream", "http://etherx.jabber.org/streams");
response.addAttribute("from", XMPPServer.getInstance().getServerInfo().getXMPPDomain()); response.addAttribute("from", session.getServerName());
response.addAttribute("authid", session.getStreamID().getID()); response.addAttribute("authid", session.getStreamID().getID());
response.addAttribute("sid", session.getStreamID().getID()); response.addAttribute("sid", session.getStreamID().getID());
response.addAttribute("secure", Boolean.TRUE.toString()); response.addAttribute("secure", Boolean.TRUE.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment