Software /
code /
prosody
Diff
plugins/mod_admin_shell.lua @ 12291:ec16fb706247
mod_admin_shell: Fix description of muc:room() (thanks Link Mauve)
But then this is the internal API which is weird and unfriendly to
expose externally. Lots of methods to wrap tho ... one day.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 15 Feb 2022 22:14:40 +0100 |
parent | 12281:9016071867d7 |
child | 12293:145cb8305c67 |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Tue Feb 15 21:51:52 2022 +0100 +++ b/plugins/mod_admin_shell.lua Tue Feb 15 22:14:40 2022 +0100 @@ -274,7 +274,7 @@ -- TODO `muc:room():foo()` commands print [[muc:create(roomjid, { config }) - Create the specified MUC room with the given config]] print [[muc:list(host) - List rooms on the specified MUC component]] - print [[muc:room(roomjid) - Create the specified MUC room with the given config]] + print [[muc:room(roomjid) - Reference the specified MUC room to access MUC API methods]] elseif section == "server" then print [[server:version() - Show the server's version number]] print [[server:uptime() - Show how long the server has been running]]