Mercurial > prosody-modules
changeset 6494:88a8780c949f
mod_report_affiliations: Also report trust score of anonymous users
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 24 Mar 2026 21:08:47 +0000 |
| parents | ccbba57cacb5 |
| children | fb7902f66c36 |
| files | mod_report_affiliations/mod_report_affiliations.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_report_affiliations/mod_report_affiliations.lua Tue Mar 24 20:54:04 2026 +0000 +++ b/mod_report_affiliations/mod_report_affiliations.lua Tue Mar 24 21:08:47 2026 +0000 @@ -83,7 +83,7 @@ local since, trust; - if account_type == "registered" then + if account_type == "registered" or account_type == "anonymous" then since = get_registered_timestamp(username); trust = get_trust_score(username); end
