mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +00:00
Fix source for no bio
This commit is contained in:
parent
de9261251e
commit
57dfc330e0
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ class Identity(StatorModel):
|
|||
Post.Visibilities.mentioned: "direct",
|
||||
}
|
||||
result["source"] = {
|
||||
"note": html_to_plaintext(self.summary),
|
||||
"note": html_to_plaintext(self.summary) if self.summary else "",
|
||||
"fields": result["fields"],
|
||||
"privacy": privacy_map[
|
||||
Config.load_identity(self).default_post_visibility
|
||||
|
|
Loading…
Reference in a new issue