diff options
| author | 2025-04-18 17:36:26 +0200 | |
|---|---|---|
| committer | 2025-04-18 17:36:26 +0200 | |
| commit | 2fce02780876d5e4c4f32e0ca341c43a5d8b21a8 (patch) | |
| tree | 409adbe897de49e6ae2ca0dedbec4bfd044e10fd /internal/api/model | |
| parent | [chore] Don't push `latest` Docker image on prerelease (#4017) (diff) | |
| download | gotosocial-2fce02780876d5e4c4f32e0ca341c43a5d8b21a8.tar.xz | |
[feature/frontend] Hide "engagement" stats, edits, and other info under a little drop down to unclutter status info bar (#4021)
* dick about with stats a bit
* more dicking abuot
* lil tweaks
* more about-dicking
* weee
* comments
* fixie uppie
Diffstat (limited to 'internal/api/model')
| -rw-r--r-- | internal/api/model/status.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/api/model/status.go b/internal/api/model/status.go index ec09f702d..bcd0c0f93 100644 --- a/internal/api/model/status.go +++ b/internal/api/model/status.go @@ -166,6 +166,12 @@ type WebStatus struct { // after the "main" thread, so it and everything // below it can be considered "replies". ThreadFirstReply bool + + // Sorted slice of StatusEdit times for + // this status, from latest to oldest. + // Only set if status has been edited. + // Last entry is always creation time. + EditTimeline []string `json:"-"` } /* |
