summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--piem-b4.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/piem-b4.el b/piem-b4.el
index f25a676..48c8bf4 100644
--- a/piem-b4.el
+++ b/piem-b4.el
@@ -72,8 +72,8 @@ This is intended to be used for debugging purposes.")
;; try to download it from a URL at `piem-inboxes'. Finally, fall
;; back to b4's configuration.
(unless local-mbox-p
- (when-let ((url (piem-inbox-get :url))
- (mid (piem-mid))
+ (when-let ((url (and (equal mid (piem-mid))
+ (piem-inbox-get :url)))
(buffer (condition-case nil
(piem-download-and-decompress
(concat url (piem-escape-mid mid) "/t.mbox.gz"))