diff options
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 7f7de4fd..fc22a630 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -801,7 +801,14 @@ function room_mt:process_form(origin, stanza) end end - local event = {room = self; origin = origin; stanza = stanza; fields = fields; status_codes = {};}; + local event = { + room = self; + origin = origin; + stanza = stanza; + fields = fields; + status_codes = {}; + actor = stanza.attr.from; + }; function event.update_option(name, field, allowed) local new = fields[field]; if new == nil then return; end |