mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +00:00
Fix identity not fetching emoji (#397)
This commit is contained in:
parent
e68158202e
commit
ae74d65157
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ class Identity(StatorModel):
|
|||
self.domain = await get_domain(actor_url_parts.hostname)
|
||||
# Emojis (we need the domain so we do them here)
|
||||
for tag in get_list(document, "tag"):
|
||||
if tag["type"].lower() == "toot:emoji":
|
||||
if tag["type"].lower() in ["toot:emoji", "emoji"]:
|
||||
await sync_to_async(Emoji.by_ap_tag)(self.domain, tag, create=True)
|
||||
# Mark as fetched
|
||||
self.fetched = timezone.now()
|
||||
|
|
Loading…
Reference in a new issue