Browse Source

Merge remote-tracking branch 'origin/V20220830' into zouap

tags/v1.22.8.2^2
zouap 3 years ago
parent
commit
dd34e85dec
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      modules/auth/wechat/cloudbrain.go

+ 4
- 1
modules/auth/wechat/cloudbrain.go View File

@@ -77,7 +77,10 @@ func (CloudbrainStopMsg) ShouldSend(ctx *TemplateContext) bool {
}
for _, v := range setting.CloudbrainStoppedNotifyList {
if v == ctx.Cloudbrain.JobType {
return true
if ctx.Cloudbrain.Duration > 0 && ctx.Cloudbrain.EndTime > 0 {
return true
}
break
}
}
return false


Loading…
Cancel
Save