mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
call: Use protocol fallback
We're falling back to "tel" as the default case.
This commit is contained in:
parent
dbfa593a07
commit
c12b7a8c69
2 changed files with 1 additions and 9 deletions
|
@ -115,13 +115,6 @@ try_setting_up_media_pipeline (CallsSipCall *self)
|
|||
}
|
||||
|
||||
|
||||
static const char *
|
||||
calls_sip_call_get_protocol (CallsCall *call)
|
||||
{
|
||||
return get_protocol_from_address (calls_call_get_id (call));
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
calls_sip_call_answer (CallsCall *call)
|
||||
{
|
||||
|
@ -265,7 +258,6 @@ calls_sip_call_class_init (CallsSipCallClass *klass)
|
|||
object_class->set_property = calls_sip_call_set_property;
|
||||
object_class->finalize = calls_sip_call_finalize;
|
||||
|
||||
call_class->get_protocol = calls_sip_call_get_protocol;
|
||||
call_class->answer = calls_sip_call_answer;
|
||||
call_class->hang_up = calls_sip_call_hang_up;
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (CallsCall, calls_call, G_TYPE_OBJECT)
|
|||
static const char *
|
||||
calls_call_real_get_protocol (CallsCall *self)
|
||||
{
|
||||
return NULL;
|
||||
return get_protocol_from_address_with_fallback (calls_call_get_id (self));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue