mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
sending.rs: rename handle_futures->handle_response
The future is already done when this is called.
This commit is contained in:
parent
9961f1465f
commit
aa69b7d15c
1 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ impl Service {
|
||||||
select! {
|
select! {
|
||||||
Some(response) = futures.next() =>
|
Some(response) = futures.next() =>
|
||||||
if let Some(HandlerInputs { kind, events }) =
|
if let Some(HandlerInputs { kind, events }) =
|
||||||
self.handle_futures(
|
self.handle_response(
|
||||||
response,
|
response,
|
||||||
&mut current_transaction_status,
|
&mut current_transaction_status,
|
||||||
)?
|
)?
|
||||||
|
|
@ -226,7 +226,7 @@ impl Service {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)]
|
)]
|
||||||
fn handle_futures(
|
fn handle_response(
|
||||||
&self,
|
&self,
|
||||||
response: HandlerResponse,
|
response: HandlerResponse,
|
||||||
current_transaction_status: &mut TransactionStatusMap,
|
current_transaction_status: &mut TransactionStatusMap,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue