24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-07-14 23:44:18 +02:00

Return valid "inactivity" in session creation response

This commit is contained in:
Evgeniy Khramtsov 2011-07-28 16:39:17 +10:00
parent 8d09655a89
commit f8fd9969e1

View File

@ -288,7 +288,7 @@ wait_for_session(#body{attrs = Attrs} = Req, From, State) ->
{wait, Wait},
{ver, ?BOSH_VERSION},
{polling, ?DEFAULT_POLLING},
{inactivity, ?DEFAULT_INACTIVITY},
{inactivity, State#state.inactivity_timeout},
{hold, Hold},
{'xmpp:restartlogic', true},
{requests, Requests},