mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
refactor calculate_invite_state
That was terribly named and terribly implemented. Co-authored-by: Charles Hall <charles@computer.surgery>
This commit is contained in:
parent
e14b7f28f2
commit
287f6b9163
3 changed files with 34 additions and 49 deletions
|
|
@ -1307,7 +1307,7 @@ pub(crate) async fn invite_helper(
|
|||
)?;
|
||||
|
||||
let invite_room_state =
|
||||
services().rooms.state.calculate_invite_state(&pdu)?;
|
||||
services().rooms.state.get_helpful_invite_events(&pdu)?;
|
||||
|
||||
drop(room_token);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue