diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/jmap/cache/blob.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/jmap/cache/blob.go b/worker/jmap/cache/blob.go index 2a239835..e704f2c6 100644 --- a/worker/jmap/cache/blob.go +++ b/worker/jmap/cache/blob.go @@ -36,7 +36,7 @@ func (c *JMAPCache) DeleteBlob(id jmap.ID) error { } func (c *JMAPCache) blobPath(id jmap.ID) string { - if c.blobsDir == "" { + if c.blobsDir == "" || id == "" { return "" } name := string(id) |