Fix username display to yourself in clients

This commit is contained in:
Andrew Godwin 2023-01-19 16:34:49 -07:00
parent 51ae78a33c
commit ee3b51c28f
1 changed files with 1 additions and 1 deletions

View File

@ -849,7 +849,7 @@ class Identity(StatorModel):
result = {
"id": self.pk,
"username": self.username or "",
"acct": self.handle,
"acct": self.username if source else self.handle,
"url": self.absolute_profile_uri() or "",
"display_name": self.name or "",
"note": self.summary or "",