parallelize calculate_invite_state
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
685eadb171
commit
2b2055fe8a
3 changed files with 27 additions and 60 deletions
|
@ -513,10 +513,7 @@ impl Service {
|
|||
})?;
|
||||
|
||||
let invite_state = match content.membership {
|
||||
MembershipState::Invite => {
|
||||
let state = self.services.state.calculate_invite_state(pdu).await?;
|
||||
Some(state)
|
||||
},
|
||||
MembershipState::Invite => self.services.state.summary_stripped(pdu).await.into(),
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue