summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-02-01 12:44:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-02-01 12:44:05 +0100
commit2548cab2db3570239dbc100360b24a3b755790a4 (patch)
tree5ec389ac8dd68d8b6ee5fe9eba634a3c85672a86
parent6d0d42463d6cfb7be9b5f9fd6ee5e78c7a0f9f32 (diff)
messages: Use status-with-cache.
* mumi/messages.scm (search-bugs, recent-bugs): Use status-with-cache.
-rw-r--r--mumi/messages.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/mumi/messages.scm b/mumi/messages.scm
index 22d8753..3cae441 100644
--- a/mumi/messages.scm
+++ b/mumi/messages.scm
@@ -162,7 +162,7 @@ we have to do this in a very convoluted way."
(ids (filter-map (lambda (item)
(assoc-ref item "id"))
matches)))
- (soap-invoke* (%config 'debbugs) get-status ids)))
+ (status-with-cache ids)))
;; TODO: This returns *any* matching debbugs bug, even if it is not
;; part of the default packages.
@@ -198,7 +198,7 @@ we have to do this in a very convoluted way."
(assoc-ref item "id"))
(append matches-new matches-activity))))
(ids (take unique (min amount (length unique)))))
- (soap-invoke* (%config 'debbugs) get-status ids)))
+ (status-with-cache ids)))
(define (ago unit amount)
"Return the point in time that lies AMOUNT UNITs in the past."