mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 17:12:26 -05:00
[chore] Mastodon api fixups (#617)
* don't omitempty on description * don't omitempty on any fields * add ms to timestamp format * don't omitempty on text_url * rearrange attachment fields a bit * just give URL again as attachment text url * update tests * fix accidental replace
This commit is contained in:
parent
323dbca4f7
commit
ae5402ada6
11 changed files with 33 additions and 32 deletions
|
|
@ -154,7 +154,7 @@ func addressable4() vocab.ActivityStreamsAnnounce {
|
|||
"cc": "https://another.instance/users/someone_else",
|
||||
"id": "https://example.org/users/someone/statuses/107043888547829808/activity",
|
||||
"object": "https://another.instance/users/someone_else/statuses/107026674805188668",
|
||||
"published": "2021-10-04T15:08:35Z",
|
||||
"published": "2021-10-04T15:08:35.00Z",
|
||||
"to": "https://example.org/users/someone/followers",
|
||||
"type": "Announce"
|
||||
}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue