Accounts: Fix email check on dropdown

discord
Harvey Tindall 3 years ago
parent 168b217553
commit 519a5615cc
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -1203,7 +1203,7 @@ func (app *appContext) GetUsers(gc *gin.Context) {
}
if email, ok := app.storage.emails[jfUser.ID]; ok {
user.Email = email.Addr
user.NotifyThroughEmail = user.Email != ""
user.NotifyThroughEmail = email.Contact
}
expiry, ok := app.storage.users[jfUser.ID]
if ok {

Loading…
Cancel
Save