summaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-messaging.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-05-08 20:26:03 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-05-08 20:26:05 +0200
commit7753eb0013ecd8cb2c906969c6064cccf6bf473d (patch)
tree17e973437377863ebeed3a6bac5cae3ca09aea28 /src/mm-iface-modem-messaging.c
parent8e364b72b9804a1d5f3d1476add4546567343ee9 (diff)
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.
Diffstat (limited to 'src/mm-iface-modem-messaging.c')
-rw-r--r--src/mm-iface-modem-messaging.c2
1 files changed, 2 insertions, 0 deletions
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