aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r--plugins/mod_message.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 2ee75c21..0d370ec1 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -48,11 +48,10 @@ local function process_to_bare(bare, origin, stanza)
local node, host = jid_split(bare);
local ok
if user_exists(node, host) then
- -- TODO apply the default privacy list
-
ok = module:fire_event('message/offline/handle', {
- origin = origin,
- stanza = stanza,
+ username = node;
+ origin = origin,
+ stanza = stanza,
});
end