mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_admin_shell: Indicate bi-directional s2s connections
This commit is contained in:
parent
5f93ef8119
commit
7f68cacb79
1 changed files with 2 additions and 1 deletions
|
@ -661,7 +661,8 @@ local available_columns = {
|
|||
title = "Dir";
|
||||
width = 3;
|
||||
key = "direction";
|
||||
mapper = function (dir)
|
||||
mapper = function(dir, session)
|
||||
if session.incoming and session.outgoing then return "<->"; end
|
||||
if dir == "outgoing" then return "-->"; end
|
||||
if dir == "incoming" then return "<--"; end
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue