diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-10-13 16:29:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 16:29:17 +0200 |
commit | ebf2c3195615bb524f6908e84f99887c8775cbc3 (patch) | |
tree | b393f2b0e0f5735338e495b1efe769ef97265e8c /streaming/index.js | |
parent | 022006577027ca040f4411489821f2e3311f0db6 (diff) | |
parent | 5169b374c64ee48a820c04d7c6e7f1f9235d2417 (diff) |
Merge pull request #1620 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'streaming/index.js')
-rw-r--r-- | streaming/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js index 9f8ab107e..190f96b51 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -431,7 +431,7 @@ const startWorker = (workerId) => { requiredScopes.push('read:statuses'); } - if (requiredScopes.some(requiredScope => req.scopes.includes(requiredScope))) { + if (req.scopes && requiredScopes.some(requiredScope => req.scopes.includes(requiredScope))) { resolve(); return; } |