refactor: cleanup

This commit is contained in:
Nyaaori committed 2022-11-21 20:50:39 +01:00
1 parent 6786c44f4d
commit 66bc41125c
11 files changed
+20 -21

No files matched your search

+3 -3
View File
@@ -40,10 +40,10 @@ impl Service {
self.db.get_token_shortstatehash(room_id, token)
}
pub fn get_shared_rooms<'a>(
&'a self,
pub fn get_shared_rooms(
&self,
users: Vec<OwnedUserId>,
) -> Result<impl Iterator<Item = Result<OwnedRoomId>> + 'a> {
) -> Result<impl Iterator<Item = Result<OwnedRoomId>>> {
self.db.get_shared_rooms(users)
}
}