mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 00:31:24 +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
|
|
@ -473,7 +473,7 @@ impl Service {
|
|||
let state = services()
|
||||
.rooms
|
||||
.state
|
||||
.calculate_invite_state(pdu)?;
|
||||
.get_helpful_invite_events(pdu)?;
|
||||
Some(state)
|
||||
}
|
||||
_ => None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue