summaryrefslogtreecommitdiff
path: root/internal/api/s2s/user/statusget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/s2s/user/statusget.go')
-rw-r--r--internal/api/s2s/user/statusget.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/s2s/user/statusget.go b/internal/api/s2s/user/statusget.go
index b6690c4de..3e3d6ea56 100644
--- a/internal/api/s2s/user/statusget.go
+++ b/internal/api/s2s/user/statusget.go
@@ -56,6 +56,7 @@ func (m *Module) StatusGETHandler(c *gin.Context) {
if format == string(api.TextHTML) {
// redirect to the status
c.Redirect(http.StatusSeeOther, "/@"+requestedUsername+"/statuses/"+requestedStatusID)
+ return
}
resp, errWithCode := m.processor.GetFediStatus(transferContext(c), requestedUsername, requestedStatusID, c.Request.URL)