diff --git a/activities/models/post.py b/activities/models/post.py index 8c2ce13..da5a98b 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -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]