mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Keep the order of stanzas when BOSH sends several (EJAB-1374)
This commit is contained in:
parent
4c8b034874
commit
a2e1d2030a
@ -1040,7 +1040,7 @@ send_outpacket(#http_bind{pid = FsmRef}, OutPacket) ->
|
|||||||
end, OutPacket),
|
end, OutPacket),
|
||||||
case AllElements of
|
case AllElements of
|
||||||
true ->
|
true ->
|
||||||
TypedEls = lists:foldr(fun({xmlstreamelement, El}, Acc) ->
|
TypedEls = lists:foldl(fun({xmlstreamelement, El}, Acc) ->
|
||||||
Acc ++
|
Acc ++
|
||||||
[xml:element_to_string(
|
[xml:element_to_string(
|
||||||
check_default_xmlns(El)
|
check_default_xmlns(El)
|
||||||
|
Loading…
Reference in New Issue
Block a user