1
This commit is contained in:
parent
4e724f46e4
commit
edf8db3dca
@ -170,7 +170,7 @@ func (this *mailMgr) CaGetAttachment(c *gin.Context) {
|
||||
mails := []common.Mail{}
|
||||
for _, str := range(mailIds) {
|
||||
m := this.getMail(str)
|
||||
if m != nil {
|
||||
if m != nil && m.IsValid(hum) {
|
||||
q5.AppendSlice(&mails, m)
|
||||
}
|
||||
}
|
||||
|
@ -85,9 +85,7 @@ func (this *player) MarkMails(mails []common.Mail) error {
|
||||
}
|
||||
|
||||
func (this *player) GetAttachment(mails []common.Mail) error {
|
||||
this.checkLock()
|
||||
var resultErr error
|
||||
return resultErr
|
||||
return this.DeleteMails(mails)
|
||||
}
|
||||
|
||||
func (this *player) DeleteMails(mails []common.Mail) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user