referrals: Show enabled status on account list

This commit is contained in:
Harvey Tindall
2023-09-06 22:46:16 +01:00
parent cdc8f9af4b
commit 729552a827
5 changed files with 54 additions and 6 deletions
+1
View File
@@ -151,6 +151,7 @@ type respUser struct {
NotifyThroughMatrix bool `json:"notify_matrix"`
Label string `json:"label"` // Label of user, shown next to their name.
AccountsAdmin bool `json:"accounts_admin"` // Whether or not the user is a jfa-go admin.
ReferralsEnabled bool `json:"referrals_enabled"`
}
type getUsersDTO struct {