diff options
Diffstat (limited to 'worker/maildir')
-rw-r--r-- | worker/maildir/worker.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index f843d002..5ca648c4 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -883,6 +883,11 @@ func (w *Worker) msgInfoFromUid(uid uint32) (*models.MessageInfo, error) { if err != nil { return nil, err } + name, err := m.dir.Filename(m.key) + if err != nil { + return nil, err + } + info.Filenames = []string{name} if w.c.IsRecent(uid) { info.Flags |= models.RecentFlag } |