mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
mm-provider: Don't exit early when country code matches
This makes sure we fetch emergency numbers in any case (and also further things should they be added later).
This commit is contained in:
parent
36fdbc28e6
commit
47afc70552
1 changed files with 1 additions and 4 deletions
|
@ -796,10 +796,7 @@ get_sim_ready_cb (MMModem *modem,
|
|||
self->sim = mm_modem_get_sim_finish (modem, res, NULL);
|
||||
|
||||
code = get_country_iso_for_mcc (mm_sim_get_imsi (self->sim));
|
||||
if (code) {
|
||||
if (g_strcmp0 (self->country_code, code) == 0)
|
||||
return;
|
||||
|
||||
if (code && g_strcmp0 (self->country_code, code)) {
|
||||
g_debug ("Setting the country code to `%s'", code);
|
||||
|
||||
self->country_code = g_strdup (code);
|
||||
|
|
Loading…
Reference in a new issue