# HG changeset patch # User Kim Alvefur # Date 1567961475 -7200 # Node ID aa3f988538163c1a27c793590b84440cba9abfb4 # Parent 022d42e122d45cb64daa50b2f4ffdf88d61011ef mod_admin_telnet: Identify native bidi sessions diff -r 022d42e122d4 -r aa3f98853816 plugins/mod_admin_telnet.lua --- a/plugins/mod_admin_telnet.lua Sun Sep 08 18:51:57 2019 +0200 +++ b/plugins/mod_admin_telnet.lua Sun Sep 08 18:51:15 2019 +0200 @@ -552,7 +552,9 @@ if session.remote then line[#line+1] = "(remote)"; 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)"; end if session.bosh_version then