Fix imag-mail to list from appropriate collection

This commit is contained in:
Matthias Beyer 2018-04-23 15:01:01 +02:00
parent 190da895f9
commit 09d34783cb

View file

@ -141,8 +141,9 @@ fn list(rt: &Runtime) {
}
let _ = rt.store()
.retrieve_for_module("ref")
.entries()
.map_err_trace_exit_unwrap(1)
.filter(|id| id.is_in_collection(&["mail"]))
.filter_map(|id| {
rt.store()
.get(id)