瀏覽代碼

Include flags when fetching items over IMAP

master
Dejan Strbac 4 年之前
committed by Simon Ser
父節點
當前提交
15a77185b4
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: FDE7BE0E88F5E48
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      plugins/base/imap.go

+ 1
- 1
plugins/base/imap.go 查看文件

@@ -201,7 +201,7 @@ func listMessages(conn *imapclient.Client, mboxName string, page int) ([]IMAPMes
var seqSet imap.SeqSet
seqSet.AddRange(uint32(from), uint32(to))

fetch := []imap.FetchItem{imap.FetchEnvelope, imap.FetchUid, imap.FetchBodyStructure}
fetch := []imap.FetchItem{imap.FetchFlags, imap.FetchEnvelope, imap.FetchUid, imap.FetchBodyStructure}

ch := make(chan *imap.Message, 10)
done := make(chan error, 1)


Loading…
取消
儲存