# HG changeset patch # User Kim Alvefur # Date 1494436933 -7200 # Node ID 03714861f8fccf32a8ae4d16d8153570a4df40ab # Parent 2bda04a7b4d47cb31f79fcd52fb7e1d125ec2ff7 mod_message: Include username in event for offline messages diff -r 2bda04a7b4d4 -r 03714861f8fc plugins/mod_message.lua --- a/plugins/mod_message.lua Sun May 07 20:23:29 2017 +0200 +++ b/plugins/mod_message.lua Wed May 10 19:22:13 2017 +0200 @@ -49,6 +49,7 @@ local ok if user_exists(node, host) then ok = module:fire_event('message/offline/handle', { + username = node; origin = origin, stanza = stanza, });