diff options
author | 2023-11-10 19:29:26 +0100 | |
---|---|---|
committer | 2023-11-10 19:29:26 +0100 | |
commit | ba9d6b467a1f03447789844048d913738c843569 (patch) | |
tree | 5a464ee4a33f26e3284179582ab6d3332d9d5388 /internal/web/thread.go | |
parent | [chore/bugfix/horror] Allow `expires_in` and poll choices to be parsed from s... (diff) | |
download | gotosocial-ba9d6b467a1f03447789844048d913738c843569.tar.xz |
[feature] Media attachment placeholders (#2331)
* [feature] Use placeholders for unknown media types
* fix read of underreported small files
* switch to reduce nesting
* simplify cleanup
Diffstat (limited to 'internal/web/thread.go')
-rw-r--r-- | internal/web/thread.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/thread.go b/internal/web/thread.go index d2ae29c07..13dd5877d 100644 --- a/internal/web/thread.go +++ b/internal/web/thread.go @@ -125,7 +125,7 @@ func (m *Module) threadGETHandler(c *gin.Context) { } // Fill in the rest of the thread context. - context, errWithCode := m.processor.Status().ContextGet(ctx, authed.Account, targetStatusID) + context, errWithCode := m.processor.Status().WebContextGet(ctx, targetStatusID) if errWithCode != nil { apiutil.WebErrorHandler(c, errWithCode, instanceGet) return |