Mercurial > prosody-modules
diff mod_report_affiliations/mod_report_affiliations.lua @ 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 | 525655adfd3e |
| children | 3b0cfef7fabe |
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
