Software /
code /
prosody
Changeset
10044:4fd27023224a
mod_admin_telnet: Collect array from Bosh connections when appending to connection list
Fixes #1356
author | Michel Le Bihan <michel@lebihan.pl> |
---|---|
date | Mon, 03 Jun 2019 20:51:15 +0200 |
parents | 10043:ce8e18f20693 |
children | 10046:0bc291a5734a 10122:95814c597836 |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sat Jun 01 15:00:35 2019 +0200 +++ b/plugins/mod_admin_telnet.lua Mon Jun 03 20:51:15 2019 +0200 @@ -597,7 +597,7 @@ local function show_c2s(callback) local c2s = array.collect(values(module:shared"/*/c2s/sessions")); - c2s:append(values(module:shared"/*/bosh/sessions")); + c2s:append(array.collect(values(module:shared"/*/bosh/sessions"))); c2s:sort(function(a, b) if a.host == b.host then if a.username == b.username then