diff options
author | Kim Alvefur <zash@zash.se> | 2017-05-10 19:22:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-05-10 19:22:13 +0200 |
commit | 0c64cd26d6f9730ad145511f5edbe3c0b4767eb2 (patch) | |
tree | 3aeb9d18eecea06a5448f7051d3d16045c3fcdf8 /plugins/mod_message.lua | |
parent | 49655b22344eaa3ee55d9059965b4a5ffe36654c (diff) | |
download | prosody-0c64cd26d6f9730ad145511f5edbe3c0b4767eb2.tar.gz prosody-0c64cd26d6f9730ad145511f5edbe3c0b4767eb2.zip |
mod_message: Include username in event for offline messages
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r-- | plugins/mod_message.lua | 1 |
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, }); |