Software /
code /
prosody
Diff
core/rostermanager.lua @ 5747:23076ee191d3
rostermanager, mod_groups: Change roster-load event to pass an event table for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 15 Jul 2013 11:43:23 +0100 |
parent | 5429:25333de6e7c7 |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- a/core/rostermanager.lua Sat Jul 13 13:17:53 2013 +0100 +++ b/core/rostermanager.lua Mon Jul 15 11:43:23 2013 +0100 @@ -100,7 +100,7 @@ log("warn", "roster for %s has a self-contact", jid); end if not err then - hosts[host].events.fire_event("roster-load", username, host, roster); + hosts[host].events.fire_event("roster-load", { username = username, host = host, roster = roster }); end return roster, err; end