fix needless collect
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
dfd13780df
commit
5722c4ae39
5 changed files with 10 additions and 20 deletions
|
@ -292,7 +292,7 @@ impl Service {
|
|||
|
||||
/// Returns an iterator over all joined members of a room.
|
||||
#[tracing::instrument(skip(self))]
|
||||
pub fn room_members(&self, room_id: &RoomId) -> impl Iterator<Item = Result<OwnedUserId>> + '_ {
|
||||
pub fn room_members(&self, room_id: &RoomId) -> impl Iterator<Item = Result<OwnedUserId>> + Send + '_ {
|
||||
self.db.room_members(room_id)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue