fix broken federated room invites/joins
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
f0557e3303
commit
cb03654dc1
3 changed files with 97 additions and 79 deletions
|
@ -377,7 +377,7 @@ impl Service {
|
|||
pub fn is_left(&self, user_id: &UserId, room_id: &RoomId) -> Result<bool> { self.db.is_left(user_id, room_id) }
|
||||
|
||||
#[tracing::instrument(skip(self))]
|
||||
pub fn servers_invite_via(&self, room_id: &RoomId) -> Result<Option<Vec<OwnedServerName>>> {
|
||||
pub fn servers_invite_via(&self, room_id: &RoomId) -> impl Iterator<Item = Result<OwnedServerName>> + '_ {
|
||||
self.db.servers_invite_via(room_id)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue