aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua9
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