diff options
author | Kim Alvefur <zash@zash.se> | 2021-09-12 21:31:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-09-12 21:31:04 +0200 |
commit | 36e448847ff5f084f9183e826aef94c8e09a44e5 (patch) | |
tree | 3884cab1e12cd09e192294aa619f52b9dd440939 | |
parent | 9ae27ec538dc8c8fd3d22675b2bc228a6fc535e9 (diff) | |
download | prosody-36e448847ff5f084f9183e826aef94c8e09a44e5.tar.gz prosody-36e448847ff5f084f9183e826aef94c8e09a44e5.zip |
mod_message: Clarify purpose of username field in offline message event
Added in 03714861f8fc but it did not appear to be used anywhere until
offline message "handling" was added to mod_mam in 8141645e3865
-rw-r--r-- | plugins/mod_message.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua index 8b36768f..09aefc08 100644 --- a/plugins/mod_message.lua +++ b/plugins/mod_message.lua @@ -49,8 +49,8 @@ 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, + username = node, -- username of the recipient of the offline message + origin = origin, -- the sender stanza = stanza, }); end |