Software /
code /
prosody
Diff
plugins/mod_watchregistrations.lua @ 8154:6300394bb713
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 27 May 2017 16:42:50 +0200 |
parent | 7860:49ff363f3a3d |
parent | 8152:8e26672df704 |
child | 8812:3d7fceaff230 |
line wrap: on
line diff
--- a/plugins/mod_watchregistrations.lua Sat May 20 14:58:56 2017 +0200 +++ b/plugins/mod_watchregistrations.lua Sat May 27 16:42:50 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;