diff --git a/cli/mmcli-sms.c b/cli/mmcli-sms.c index 4395f079..bc45a4a4 100644 --- a/cli/mmcli-sms.c +++ b/cli/mmcli-sms.c @@ -238,6 +238,7 @@ get_sms_ready (GObject *source, /* Requesting to store the SMS? */ if (store_flag) { mm_sms_store (ctx->sms, + MM_SMS_STORAGE_UNKNOWN, ctx->cancellable, (GAsyncReadyCallback)store_ready, NULL); @@ -302,6 +303,7 @@ mmcli_sms_run_synchronous (GDBusConnection *connection) gboolean operation_result; operation_result = mm_sms_store_sync (ctx->sms, + MM_SMS_STORAGE_UNKNOWN, NULL, &error); store_process_reply (operation_result, error); diff --git a/introspection/org.freedesktop.ModemManager1.Sms.xml b/introspection/org.freedesktop.ModemManager1.Sms.xml index f65ff80f..dd3f18f8 100644 --- a/introspection/org.freedesktop.ModemManager1.Sms.xml +++ b/introspection/org.freedesktop.ModemManager1.Sms.xml @@ -30,8 +30,15 @@ Store: Store the message in the device if not already done. + + This method requires a MMSmsStorage + value, describing the storage where this message is to be kept; or + MM_SMS_STORAGE_UNKNOWN + if the default storage should be used. --> - + + +