outbox-fts 2.0.0-rc.6
Thomas Sileo 2022-10-20 19:39:55 +02:00
rodzic 0144a1c0d4
commit 2853bf2a28
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -183,7 +183,7 @@ async def markdownify(
# Handle custom emoji
tags.extend(emoji.tags(content))
return rendered_content, tags, list(mentioned_actors.values())
return rendered_content, dedup_tags(tags), list(mentioned_actors.values())
def dedup_tags(tags: list[dict[str, str]]) -> list[dict[str, str]]: