mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-29 14:37:44 +02:00
Fix previous commit (EJAB-1257)
This commit is contained in:
parent
bc1b4163a2
commit
6925f388e7
@ -281,7 +281,7 @@ handle_session_start(Pid, XmppDomain, Sid, Rid, Attrs,
|
|||||||
CHold
|
CHold
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
Pdelay = case string:to_integer(xml:get_attr_s("process-delay",Attrs)) of
|
Pdelay = case string:to_integer(exmpp_xml:get_attribute_from_list_as_list(Attrs, "process-delay", "")) of
|
||||||
{error, _} ->
|
{error, _} ->
|
||||||
?PROCESS_DELAY_DEFAULT;
|
?PROCESS_DELAY_DEFAULT;
|
||||||
{CPdelay, _} when
|
{CPdelay, _} when
|
||||||
|
Loading…
Reference in New Issue
Block a user