Commit e351eee8 authored by huni's avatar huni

Added hold attribute to session creation response.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@10584 b35dd754-fafc-0310-a699-88a17e54d16e
parent 10a987e9
...@@ -279,6 +279,7 @@ public class HttpSessionManager { ...@@ -279,6 +279,7 @@ public class HttpSessionManager {
response.addAttribute("polling", String.valueOf(session.getMaxPollingInterval())); response.addAttribute("polling", String.valueOf(session.getMaxPollingInterval()));
response.addAttribute("wait", String.valueOf(session.getWait())); response.addAttribute("wait", String.valueOf(session.getWait()));
if(session.getVersion() >= 1.6) { if(session.getVersion() >= 1.6) {
response.addAttribute("hold", String.valueOf(session.getHold()));
response.addAttribute("ver", String.valueOf(session.getVersion())); response.addAttribute("ver", String.valueOf(session.getVersion()));
} }
......
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