diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 4d15caadc..1533af361 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -966,8 +966,6 @@ prepare_outpacket_response(#http_bind{id=Sid, wait=Wait, StreamTail] end, case OutEls of - [] -> - prepare_response(Sess, Rid, OutPacket, true); [{xmlelement, "stream:error",_,_}] -> {200, ?HEADER, "