[calls] sip: call: Remove unnecessary code



commit ae4053e1c9ab4bfa82a203bcc73ad460b2b36f4f
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Dec 28 23:04:45 2021 +0100

    sip: call: Remove unnecessary code
    
    The call state depending on whether a call is inbound or not is handled in the
    constructed() method of the CallsCall base class.

 plugins/sip/calls-sip-call.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/sip/calls-sip-call.c b/plugins/sip/calls-sip-call.c
index 919e8fe5..8a1981f0 100644
--- a/plugins/sip/calls-sip-call.c
+++ b/plugins/sip/calls-sip-call.c
@@ -361,7 +361,6 @@ calls_sip_call_new (const gchar  *id,
                        "nua-handle", handle,
                        "id", id,
                        "inbound", inbound,
-                       "state", inbound ? CALLS_CALL_STATE_INCOMING : CALLS_CALL_STATE_DIALING,
                        NULL);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]