diff plugins/mod_message.lua @ 8146:5c91fb62338e

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 17 May 2017 01:06:20 +0200
parents 03714861f8fc
children 41c959c5c84b
line wrap: on
line diff
--- a/plugins/mod_message.lua	Wed Apr 26 11:55:27 2017 +0200
+++ b/plugins/mod_message.lua	Wed May 17 01:06:20 2017 +0200
@@ -48,11 +48,10 @@
 		local node, host = jid_split(bare);
 		local ok
 		if user_exists(node, host) then
-			-- TODO apply the default privacy list
-
 			ok = module:fire_event('message/offline/handle', {
-			    origin = origin,
-			    stanza = stanza,
+				username = node;
+				origin = origin,
+				stanza = stanza,
 			});
 		end