aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-12-18 20:23:33 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2018-12-18 20:23:33 +0000
commit738a1171dc1415544b2289591578670333250d9d (patch)
treea73090843636f1c47ea34ebc3b42fda677d996b5
parent273523a27617d2b320a811c0e978111ae3d6e23b (diff)
downloadprosody-738a1171dc1415544b2289591578670333250d9d.tar.gz
prosody-738a1171dc1415544b2289591578670333250d9d.zip
admin_telnet: show when bidi is used on s2s
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 8a3508db..63136d63 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -521,6 +521,9 @@ local function session_flags(session, line)
if session.remote then
line[#line+1] = "(remote)";
end
+ if session.is_bidi then
+ line[#line+1] = "(bidi)";
+ end
return table.concat(line, " ");
end