iface-modem-messaging: flush sms list update before notifying added/removed

So that clients are able to have the full updated list before the list
update notification.
This commit is contained in:
Aleksander Morgado
2019-05-08 20:26:03 +02:00
parent 8e364b72b9
commit 7753eb0013

View File

@@ -498,6 +498,8 @@ update_message_list (MmGdbusModemMessaging *skeleton,
paths = mm_sms_list_get_paths (list);
mm_gdbus_modem_messaging_set_messages (skeleton, (const gchar *const *)paths);
g_strfreev (paths);
g_dbus_interface_skeleton_flush (G_DBUS_INTERFACE_SKELETON (skeleton));
}
static void