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.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-28 23:04:45 +01:00
parent 5d6c54acf3
commit ae4053e1c9

View File

@@ -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);
}