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 | 508ea271435308a54965063e3d0916ff18970ebb (patch) | |
tree | 3aeb9d18eecea06a5448f7051d3d16045c3fcdf8 /plugins | |
parent | b22d611eee2b46556bdf4578d6cd9e7601f43900 (diff) | |
download | prosody-508ea271435308a54965063e3d0916ff18970ebb.tar.gz prosody-508ea271435308a54965063e3d0916ff18970ebb.zip |
mod_message: Include username in event for offline messages
Diffstat (limited to 'plugins')
-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, }); |