aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_message.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 4b72921f..0d370ec1 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -49,6 +49,7 @@ local function process_to_bare(bare, origin, stanza)
local ok
if user_exists(node, host) then
ok = module:fire_event('message/offline/handle', {
+ username = node;
origin = origin,
stanza = stanza,
});