Bump ruma

This commit is contained in:
Timo Kösters
2022-10-09 17:25:06 +02:00
committed by Nyaaori
parent 275c6b447d
commit 6b131202b9
68 changed files with 446 additions and 347 deletions

View File

@@ -1,7 +1,7 @@
mod data;
pub use data::Data;
use ruma::RoomId;
use ruma::{OwnedRoomId, RoomId};
use crate::Result;
@@ -16,7 +16,7 @@ impl Service {
self.db.exists(room_id)
}
pub fn iter_ids<'a>(&'a self) -> Box<dyn Iterator<Item = Result<Box<RoomId>>> + 'a> {
pub fn iter_ids<'a>(&'a self) -> Box<dyn Iterator<Item = Result<OwnedRoomId>> + 'a> {
self.db.iter_ids()
}