mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_message: Include username in event for offline messages
This commit is contained in:
parent
49655b2234
commit
0c64cd26d6
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue