Software /
code /
prosody
Changeset
8152:8e26672df704
mod_watchregistrations: Return the pointer to the root of the stanza, fixes #922.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 27 May 2017 14:23:43 +0100 |
parents | 8151:2c65f8be38aa |
children | 8154:6300394bb713 8155:f0d847316723 |
files | plugins/mod_watchregistrations.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_watchregistrations.lua Mon May 22 05:32:11 2017 +0200 +++ b/plugins/mod_watchregistrations.lua Sat May 27 14:23:43 2017 +0100 @@ -21,7 +21,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;