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 {