GODT-966: return correct UID in response to APPEND to All Mail.

This commit is contained in:
Jakub Cuth
2021-09-20 14:35:47 +00:00
committed by Jakub Cuth
parent 63f089540e
commit 107843d58f

View File

@ -185,7 +185,7 @@ func (im *imapMailbox) labelExistingMessage(msg storeMessageProvider) error { //
return err
}
return uidplus.AppendResponse(storeMBox.UIDValidity(), storeMBox.GetUIDList([]string{msg.ID()}))
return uidplus.AppendResponse(im.storeMailbox.UIDValidity(), im.storeMailbox.GetUIDList([]string{msg.ID()}))
}
func (im *imapMailbox) importMessage(kr *crypto.KeyRing, hdr textproto.Header, body []byte, imapFlags []string, date time.Time) error {