mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 23:01:00 +00:00
Don't try to render emojis for remote sends
This commit is contained in:
parent
0f66900d9c
commit
4744f7d47c
1 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ class ContentRenderer:
|
|||
mentions=post.mentions.all(),
|
||||
uri_domain=(None if self.local else post.author.domain.uri_domain),
|
||||
find_hashtags=True,
|
||||
find_emojis=True,
|
||||
find_emojis=self.local,
|
||||
emoji_domain=post.author.domain,
|
||||
)
|
||||
return mark_safe(parser.html)
|
||||
|
@ -342,7 +342,7 @@ class ContentRenderer:
|
|||
html,
|
||||
uri_domain=(None if self.local else identity.domain.uri_domain),
|
||||
find_hashtags=True,
|
||||
find_emojis=True,
|
||||
find_emojis=self.local,
|
||||
emoji_domain=identity.domain,
|
||||
)
|
||||
return mark_safe(parser.html)
|
||||
|
@ -357,7 +357,7 @@ class ContentRenderer:
|
|||
html,
|
||||
uri_domain=(None if self.local else identity.domain.uri_domain),
|
||||
find_hashtags=False,
|
||||
find_emojis=True,
|
||||
find_emojis=self.local,
|
||||
emoji_domain=identity.domain,
|
||||
)
|
||||
if strip:
|
||||
|
|
Loading…
Reference in a new issue