Software /
code /
prosody
Changeset
9011:ce8e5206aeba
MUC: Include destruction reason and other info in destroyed event
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 11 Jul 2018 02:29:01 +0200 |
parents | 9010:3c5ddd53fe50 |
children | 9012:295faf1522f9 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Wed Jul 11 02:25:07 2018 +0200 +++ b/plugins/muc/muc.lib.lua Wed Jul 11 02:29:01 2018 +0200 @@ -850,7 +850,7 @@ x:up(); self.destroying = reason or true; self:clear(x); - module:fire_event("muc-room-destroyed", { room = self }); + module:fire_event("muc-room-destroyed", { room = self, reason = reason, newjid = newjid, password = password }); return true; end