From 7753eb0013ecd8cb2c906969c6064cccf6bf473d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 8 May 2019 20:26:03 +0200 Subject: [PATCH] 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. --- src/mm-iface-modem-messaging.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mm-iface-modem-messaging.c b/src/mm-iface-modem-messaging.c index 8b3ac8c1..fd50f54f 100644 --- a/src/mm-iface-modem-messaging.c +++ b/src/mm-iface-modem-messaging.c @@ -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