diff options
Diffstat (limited to 'worker/jmap/mboxstate.go')
-rw-r--r-- | worker/jmap/mboxstate.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/jmap/mboxstate.go b/worker/jmap/mboxstate.go index 0ee8bde3..975d18ed 100644 --- a/worker/jmap/mboxstate.go +++ b/worker/jmap/mboxstate.go @@ -17,6 +17,9 @@ type MailboxState struct { } func (s *MailboxState) FullPath(all map[jmap.ID]*MailboxState) string { + if s.mbox == nil { + return s.dir + } if s.mbox.ParentID == "" { return s.mbox.Name } |