Diff

plugins/mod_watchregistrations.lua @ 8157:4947e84f2e5b

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 27 May 2017 17:30:16 +0200
parent 8154:6300394bb713
child 8812:3d7fceaff230
line wrap: on
line diff
--- a/plugins/mod_watchregistrations.lua	Sat May 27 15:32:28 2017 +0100
+++ b/plugins/mod_watchregistrations.lua	Sat May 27 17:30:16 2017 +0200
@@ -22,7 +22,8 @@
 		:tag("body")
 			:text(registration_notification:gsub("%$(%w+)", function (v)
 				return user[v] or user.session and user.session[v] or nil;
-			end));
+			end))
+		:up();
 	for jid in registration_watchers do
 		module:log("debug", "Notifying %s", jid);
 		message.attr.to = jid;