mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 22:43:32 -06:00
use known application as shorter
This commit is contained in:
parent
0db3fe3ba6
commit
c96ec969de
2 changed files with 2 additions and 2 deletions
|
|
@ -1434,7 +1434,7 @@ func (c *Converter) baseStatusToFrontend(
|
|||
// anymore, it's probably been cleaned up.
|
||||
// Set a dummy application.
|
||||
apiStatus.Application = &apimodel.Application{
|
||||
Name: "Unknown/deleted application",
|
||||
Name: "unknown application",
|
||||
}
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -792,7 +792,7 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendApplicationDeleted
|
|||
"content": "\u003cp\u003ehello world! \u003ca href=\"http://localhost:8080/tags/welcome\" class=\"mention hashtag\" rel=\"tag nofollow noreferrer noopener\" target=\"_blank\"\u003e#\u003cspan\u003ewelcome\u003c/span\u003e\u003c/a\u003e ! first post on the instance :rainbow: !\u003c/p\u003e",
|
||||
"reblog": null,
|
||||
"application": {
|
||||
"name": "Unknown/deleted application"
|
||||
"name": "unknown application"
|
||||
},
|
||||
"account": {
|
||||
"id": "01F8MH17FWEB39HZJ76B6VXSKF",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue