From 6febff295d9ac37c79a7613242b0811dde763519 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 13 Apr 2022 22:52:17 +0200 Subject: implement #7221 --- src/anastasis/anastasis-gtk_action.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/anastasis/anastasis-gtk_action.c') diff --git a/src/anastasis/anastasis-gtk_action.c b/src/anastasis/anastasis-gtk_action.c index 6f0f3ed..2bce9b2 100644 --- a/src/anastasis/anastasis-gtk_action.c +++ b/src/anastasis/anastasis-gtk_action.c @@ -1809,6 +1809,7 @@ show_challenge_feedback (const char *uuid, * present in the state that was used to locate this version * @param server_time when did the provider receive the upload * @param secret_name name the user assigned to the backup + * @param providers json array of providers offering this policy */ static void expand_policy_list (void *cls, @@ -1817,7 +1818,8 @@ expand_policy_list (void *cls, uint32_t version, json_int_t attribute_mask, struct GNUNET_TIME_Timestamp server_time, - const char *secret_name) + const char *secret_name, + const json_t *providers) { GtkListStore *ls = cls; GtkTreeIter iter; @@ -1835,6 +1837,7 @@ expand_policy_list (void *cls, AG_SSMC_SECRET_NAME, secret_name, AG_SSMC_POLICY_DATE_STRING, GNUNET_TIME_timestamp2s (server_time), AG_SSMC_POLICY_DATE_NUMERIC, (guint64) server_time.abs_time.abs_value_us, + AG_SSMC_POLICY_PROVIDER_JSON, (gpointer) providers, -1); if (! have_first) { -- cgit v1.2.3