mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix emojis
This commit is contained in:
parent
bf2377a68d
commit
8a61240d3b
|
|
@ -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?;
|
let touple = emoji.url.select_rich_img_touple().await?;
|
||||||
tags.push(TagType {
|
tags.push(TagType {
|
||||||
id: Some(Url::parse(&touple.1).unwrap()),
|
id: Some(Url::parse(&touple.1).unwrap()),
|
||||||
name: ":".to_string() + &emoji.name + ":",
|
name: emoji.name,
|
||||||
type_: "Emoji".to_string(),
|
type_: "Emoji".to_string(),
|
||||||
updated: Some(Utc::now()),
|
updated: Some(Utc::now()),
|
||||||
href: None,
|
href: None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue