This commit is contained in:
cdle
2021-10-14 15:26:57 +08:00
parent 681a9b74f1
commit e5df290f90
+1 -2
View File
@@ -48,10 +48,9 @@ func NotifyMasters(content string) {
if notify == "" {
notify = Bucket(class).Get("masters")
}
for _, v := range strings.Split(notify, "&") {
if push, ok := Pushs[class]; ok {
push(v[1], content)
push(v, content)
}
}
}