summaryrefslogtreecommitdiff
path: root/internal/api/client/streaming/stream.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/streaming/stream.go')
-rw-r--r--internal/api/client/streaming/stream.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/api/client/streaming/stream.go b/internal/api/client/streaming/stream.go
index 8df4e9e76..e39c780b6 100644
--- a/internal/api/client/streaming/stream.go
+++ b/internal/api/client/streaming/stream.go
@@ -185,6 +185,13 @@ func (m *Module) StreamGETHandler(c *gin.Context) {
account = authed.Account
}
+ if account.IsMoving() {
+ // Moving accounts can't
+ // use streaming endpoints.
+ apiutil.NotFoundAfterMove(c)
+ return
+ }
+
// Get the initial requested stream type, if there is one.
streamType := c.Query(StreamQueryKey)