fix emojis

This commit is contained in:
April John 2024-11-22 22:19:52 +01:00
parent bf2377a68d
commit 8a61240d3b

View file

@ -362,7 +362,7 @@ pub async fn db_user_from_url(url: Url) -> anyhow::Result<entities::user::Model>
let touple = emoji.url.select_rich_img_touple().await?;
tags.push(TagType {
id: Some(Url::parse(&touple.1).unwrap()),
name: ":".to_string() + &emoji.name + ":",
name: emoji.name,
type_: "Emoji".to_string(),
updated: Some(Utc::now()),
href: None,