[gnome-software/wip/hughsie/AsReview: 37/40] odrs: Limit the moderation queue to a specific language
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/AsReview: 37/40] odrs: Limit the moderation queue to a specific language
- Date: Wed, 27 Jul 2016 10:19:32 +0000 (UTC)
commit e169a76c39ae22ad79a46fbb5f71d345e4097077
Author: Richard Hughes <richard hughsie com>
Date: Wed Jul 27 11:15:47 2016 +0100
odrs: Limit the moderation queue to a specific language
src/plugins/gs-plugin-odrs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-odrs.c b/src/plugins/gs-plugin-odrs.c
index 956da56..b782d9c 100644
--- a/src/plugins/gs-plugin-odrs.c
+++ b/src/plugins/gs-plugin-odrs.c
@@ -930,9 +930,10 @@ gs_plugin_add_unvoted_reviews (GsPlugin *plugin,
/* create the GET data *with* the machine hash so we can later
* review the application ourselves */
- uri = g_strdup_printf ("%s/moderate/%s",
+ uri = g_strdup_printf ("%s/moderate/%s/%s",
priv->review_server,
- priv->user_hash);
+ priv->user_hash,
+ gs_plugin_get_locale (plugin));
msg = soup_message_new (SOUP_METHOD_GET, uri);
status_code = soup_session_send_message (gs_plugin_get_soup_session (plugin), msg);
if (status_code != SOUP_STATUS_OK) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]