1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 15:06:05 +00:00

sip: origin: Fix host being passed as number

Closes #389

Fixes e2acfd3794
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-12-28 16:36:05 +01:00
parent 299c3fdfce
commit 0cadf24ed0

View file

@ -226,7 +226,7 @@ add_call (CallsSipOrigin *self,
if (g_strv_length (address_split) >=2 &&
g_strcmp0 (address_split[2], self->host) == 0)
call_address = address_split[2];
call_address = address_split[1];
}
sip_call = calls_sip_call_new (call_address, inbound, handle);