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:
parent
8d09655a89
commit
f8fd9969e1
|
@ -288,7 +288,7 @@ wait_for_session(#body{attrs = Attrs} = Req, From, State) ->
|
||||||
{wait, Wait},
|
{wait, Wait},
|
||||||
{ver, ?BOSH_VERSION},
|
{ver, ?BOSH_VERSION},
|
||||||
{polling, ?DEFAULT_POLLING},
|
{polling, ?DEFAULT_POLLING},
|
||||||
{inactivity, ?DEFAULT_INACTIVITY},
|
{inactivity, State#state.inactivity_timeout},
|
||||||
{hold, Hold},
|
{hold, Hold},
|
||||||
{'xmpp:restartlogic', true},
|
{'xmpp:restartlogic', true},
|
||||||
{requests, Requests},
|
{requests, Requests},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user