summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-app.c')
-rw-r--r--libappstream-glib/as-app.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 812c1b4..996cb33 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -3496,6 +3496,11 @@ as_app_node_parse_child (AsApp *app, GNode *n, AsAppParseFlags flags,
/* <update_contact> */
case AS_TAG_UPDATE_CONTACT:
+
+ /* this is the old name */
+ if (g_strcmp0 (as_node_get_name (n), "updatecontact") == 0)
+ priv->problems |= AS_APP_PROBLEM_UPDATECONTACT_FALLBACK;
+
as_app_set_update_contact (app, as_node_get_data (n));
break;