aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 8a3a3ebd..02bc47f0 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -495,6 +495,8 @@ function room_mt:handle_presence_to_occupant(origin, stanza)
room = self;
nick = orig_occupant.nick;
occupant = orig_occupant;
+ origin = origin;
+ stanza = stanza;
});
end
end
@@ -537,6 +539,8 @@ function room_mt:handle_presence_to_occupant(origin, stanza)
room = self;
nick = dest_occupant.nick;
occupant = dest_occupant;
+ stanza = stanza;
+ origin = origin;
});
end
module:fire_event("muc-occupant-session-new", {