From 519a5615cce50925ae11006a8d21f12d84bdc7fa Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sun, 23 May 2021 14:35:01 +0100 Subject: [PATCH] Accounts: Fix email check on dropdown --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index b3d0879..24868b8 100644 --- a/api.go +++ b/api.go @@ -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 {