summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Manfre2022-12-17 23:15:11 -0500
committerGitHub2022-12-17 21:15:11 -0700
commitbb81f0e559692976d7c42ad0d36eb3b7d9992931 (patch)
tree7b88be86153ac6135a3ca9fb893b5d5ec38a4565
parentfc7955165634e39c2f59999f9cea0095d6f298af (diff)
downloadtakahe-bb81f0e559692976d7c42ad0d36eb3b7d9992931.tar.gz
takahe-bb81f0e559692976d7c42ad0d36eb3b7d9992931.tar.bz2
takahe-bb81f0e559692976d7c42ad0d36eb3b7d9992931.zip
Process Identity metadata name same as value (#194)
-rw-r--r--users/models/identity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/models/identity.py b/users/models/identity.py
index cf5b711..281ebf5 100644
--- a/users/models/identity.py
+++ b/users/models/identity.py
@@ -217,7 +217,7 @@ class Identity(StatorModel):
return []
return [
{
- "name": data["name"],
+ "name": imageify_emojis(strip_html(data["name"]), self.domain),
"value": imageify_emojis(strip_html(data["value"]), self.domain),
}
for data in self.metadata