Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 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 |
parent | 9007:695904638cfa |
child | 9017:1184f5762592 |
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