Fix unused import clippy warning

This commit is contained in:
Devin Ragotzy 2021-02-03 23:01:31 -05:00
parent 48601142f8
commit 8f283510aa
4 changed files with 46 additions and 18 deletions

View file

@ -800,8 +800,7 @@ pub async fn send_transaction_message_route<'a>(
}
};
// Make this the state after (since we appended_incoming_pdu this should agree with our servers
// current state).
// Make this the state after.
let mut state_after = state_at_event.clone();
state_after.insert((pdu.kind(), pdu.state_key()), pdu.clone());
// Add the incoming event to the mix of state snapshots