Software /
code /
prosody
Changeset
7684:65ba769d9f05
MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Oct 2016 21:51:07 +0200 |
parents | 7683:7356bf4425f4 |
children | 7685:8e43a05e2374 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Sat Oct 01 01:49:26 2016 +0200 +++ b/plugins/muc/muc.lib.lua Sat Oct 01 21:51:07 2016 +0200 @@ -756,6 +756,7 @@ end self:set_persistent(false); module:fire_event("muc-room-destroyed", { room = self }); + return true; end function room_mt:handle_to_room(origin, stanza) -- presence changes and groupchat messages, along with disco/etc