mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
2de6a3c394
2 changed files with 4 additions and 9 deletions
|
@ -22,7 +22,8 @@ module:hook("user-registered", function (user)
|
|||
: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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue