mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
user-d: dont bother attempting users w no contact
This commit is contained in:
@@ -138,6 +138,10 @@ func (app *appContext) checkUsers() {
|
||||
|
||||
if shouldContact {
|
||||
name := app.getAddressOrName(user.ID)
|
||||
// Skip blank contact info
|
||||
if name == "" {
|
||||
continue
|
||||
}
|
||||
msg, err := app.email.constructUserExpired(app, false)
|
||||
if err != nil {
|
||||
app.err.Printf(lm.FailedConstructExpiryMessage, user.ID, err)
|
||||
|
||||
Reference in New Issue
Block a user