From ae4053e1c9ab4bfa82a203bcc73ad460b2b36f4f Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Tue, 28 Dec 2021 23:04:45 +0100 Subject: [PATCH] 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 919e8fe..8a1981f 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); }