fix: room directory duplicates

This commit is contained in:
timokoesters
2020-04-09 19:38:15 +02:00
parent b12ae15a45
commit cd55220a75
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ pub struct MultiValue(sled::Tree);
impl MultiValue {
/// Get an iterator over all values.
pub fn iter_all(&self) -> sled::Iter {
self.0.iter()
self.0.scan_prefix(b"d")
}
/// Get an iterator over all values of this id.