diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 37fa90d99..c83b59534 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -1039,8 +1039,6 @@ prepare_outpacket_response(#http_bind{id=Sid, wait=Wait, StreamTail] end, case OutEls of - [] -> - prepare_response(Sess, Rid, OutPacket, true); [#xmlel{name = 'stream:error'}] -> {200, ?HEADER, "