mod_admin_telnet: Identify native bidi sessions

This commit is contained in:
Kim Alvefur 2019-09-08 18:51:15 +02:00
parent ab8f003076
commit 2a9da5b8f0

View file

@ -552,7 +552,9 @@ local function session_flags(session, line)
if session.remote then if session.remote then
line[#line+1] = "(remote)"; line[#line+1] = "(remote)";
end end
if session.is_bidi or session.bidi_session then if session.incoming and session.outgoing then
line[#line+1] = "(bidi)";
elseif session.is_bidi or session.bidi_session then
line[#line+1] = "(bidi)"; line[#line+1] = "(bidi)";
end end
if session.bosh_version then if session.bosh_version then