diff options
author | default <nobody@localhost> | 2024-02-15 10:33:33 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-02-15 10:33:33 +0100 |
commit | b4208bfec93a1d7974bb5f56f6a3d122e7e2ca3b (patch) | |
tree | 8a09b34e93bc3d618e7ff990b26cb5b9af36a08a /html.c | |
parent | f5d6223bbf41eecf1d480c7bd7afa2c2937032a6 (diff) |
Renamed validated_metadata to validated_links.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -767,9 +767,9 @@ static xs_html *html_user_body(snac *user, int local) xs_str *k; xs_str *v; - xs_dict *val_metadata = xs_dict_get(user->config, "validated_metadata"); - if (xs_is_null(val_metadata)) - val_metadata = xs_stock_dict; + xs_dict *val_links = xs_dict_get(user->config, "validated_links"); + if (xs_is_null(val_links)) + val_links = xs_stock_dict; xs_html *snac_metadata = xs_html_tag("div", xs_html_attr("class", "snac-metadata")); @@ -779,7 +779,7 @@ static xs_html *html_user_body(snac *user, int local) if (xs_startswith(v, "https:/" "/")) { /* is this link validated? */ - char *val_date = xs_dict_get(val_metadata, v); + char *val_date = xs_dict_get(val_links, v); if (!xs_is_null(val_date) && *val_date) { value = xs_html_container( |