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