diff options
author | Arc Riley <arcriley@gmail.com> | 2019-05-02 17:28:49 -0700 |
---|---|---|
committer | Arc Riley <arcriley@gmail.com> | 2019-05-02 17:28:49 -0700 |
commit | ed8b36a84b47e6ab21347d6cf9c616a69e0b3f7d (patch) | |
tree | a2d091ba94498f9c4061d485d0bf4d9e4a7599b9 /plugins | |
parent | bbc0bd0b8aa6cca380e0e4b81a9ebc6051224b20 (diff) | |
download | prosody-ed8b36a84b47e6ab21347d6cf9c616a69e0b3f7d.tar.gz prosody-ed8b36a84b47e6ab21347d6cf9c616a69e0b3f7d.zip |
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 5ee25771..248d6b07 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -554,6 +554,12 @@ local function session_flags(session, line) if session.is_bidi then line[#line+1] = "(bidi)"; end + if session.bosh_version then + line[#line+1] = "(bosh)"; + end + if session.websocket_request then + line[#line+1] = "(websocket)"; + end return table.concat(line, " "); end |