diff options
| author | 2025-05-11 13:38:13 +0000 | |
|---|---|---|
| committer | 2025-05-11 13:38:13 +0000 | |
| commit | 8480a758081e84384a366a29ecee3c3103687512 (patch) | |
| tree | d35f56a4b88905fb5f9c3a9f788ac2cf628c92fe /testrig/testmodels.go | |
| parent | [bugfix] Fix a11y property warning from authorization page (#4166) (diff) | |
| download | gotosocial-8480a758081e84384a366a29ecee3c3103687512.tar.xz | |
[feature] Notify accounts when a status they've interacted with has been edited (#4157)
This pull request adds sending notifications to local accounts that have interacted with a status, if we receive or create a new edit for that status.
closes https://codeberg.org/superseriousbusiness/gotosocial/issues/3991
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4157
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'testrig/testmodels.go')
| -rw-r--r-- | testrig/testmodels.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 5f0c2f032..30010c58c 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -3193,7 +3193,7 @@ func NewTestNotifications() map[string]*gtsmodel.Notification { CreatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), TargetAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", OriginAccountID: "01F8MH17FWEB39HZJ76B6VXSKF", - StatusID: "01F8MHAMCHF6Y650WCRSCP4WMY", + StatusOrEditID: "01F8MHAMCHF6Y650WCRSCP4WMY", Read: util.Ptr(false), }, "local_account_2_like": { @@ -3202,7 +3202,7 @@ func NewTestNotifications() map[string]*gtsmodel.Notification { CreatedAt: TimeMustParse("2022-01-13T12:45:01+02:00"), TargetAccountID: "01F8MH17FWEB39HZJ76B6VXSKF", OriginAccountID: "01F8MH5NBDF2MV7CTC4Q5128HF", - StatusID: "01F8MH75CBF9JFX4ZAD54N0W0R", + StatusOrEditID: "01F8MH75CBF9JFX4ZAD54N0W0R", Read: util.Ptr(false), }, "new_signup": { @@ -3211,7 +3211,7 @@ func NewTestNotifications() map[string]*gtsmodel.Notification { CreatedAt: TimeMustParse("2022-06-04T13:12:00Z"), TargetAccountID: "01F8MH17FWEB39HZJ76B6VXSKF", OriginAccountID: "01F8MH0BBE4FHXPH513MBVFHB0", - StatusID: "", + StatusOrEditID: "", Read: util.Ptr(false), }, } |
