File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ impl Context {
220220
221221 let wait = RINGING_SECONDS ;
222222 let context = self . get_weak_context ( ) ;
223- task:: spawn ( Context :: emit_end_call_if_unaccepted (
223+ task:: spawn ( Context :: finalize_call_if_unaccepted (
224224 context,
225225 wait. try_into ( ) ?,
226226 call. id ,
@@ -314,7 +314,7 @@ impl Context {
314314 Ok ( ( ) )
315315 }
316316
317- async fn emit_end_call_if_unaccepted (
317+ async fn finalize_call_if_unaccepted (
318318 context : WeakContext ,
319319 wait : u64 ,
320320 call_id : MsgId ,
@@ -325,7 +325,7 @@ impl Context {
325325 let Some ( mut call) = context. load_call_by_id ( call_id) . await ? else {
326326 warn ! (
327327 context,
328- "emit_end_call_if_unaccepted is called with {call_id} which does not refer to a call."
328+ "finalize_call_if_unaccepted is called with {call_id} which does not refer to a call."
329329 ) ;
330330 return Ok ( ( ) ) ;
331331 } ;
@@ -408,7 +408,7 @@ impl Context {
408408 if !call. is_stale ( ) {
409409 let wait = call. remaining_ring_seconds ( ) ;
410410 let context = self . get_weak_context ( ) ;
411- task:: spawn ( Context :: emit_end_call_if_unaccepted (
411+ task:: spawn ( Context :: finalize_call_if_unaccepted (
412412 context,
413413 wait. try_into ( ) ?,
414414 call. msg . id ,
You can’t perform that action at this time.
0 commit comments