mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-13 02:41:08 +00:00
Fix mentions of missing identities
This commit is contained in:
parent
d5a6cbedd3
commit
f892c0c4ce
1 changed files with 1 additions and 0 deletions
|
@ -804,6 +804,7 @@ class Post(StatorModel):
|
|||
"acct": mention.handle,
|
||||
}
|
||||
for mention in self.mentions.all()
|
||||
if mention.username
|
||||
],
|
||||
"tags": (
|
||||
[{"name": tag, "url": "/tag/{tag}/"} for tag in self.hashtags]
|
||||
|
|
Loading…
Reference in a new issue