1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

mm-origin: Notify emergency number change when we get a location

Technically the emergency numbers exported by the origin doesn't change
but it's enough to trigger the DBus signal so clients see the updated
numbers.
This commit is contained in:
Guido Günther 2023-07-19 12:41:51 +02:00
parent fd4b796742
commit 6aa356590b

View file

@ -670,6 +670,8 @@ on_modem_location_get_3gpp_finish (GObject *source_object, GAsyncResult *res, gp
mcc,
self->network_country_code,
mm_object_get_path (self->mm_obj));
/* Trigger update of known emergency numbers */
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_EMERGENCY_NUMBERS]);
}