1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Update dependencies

This commit is contained in:
Chocobozzz 2020-02-28 16:03:39 +01:00
parent 9d94e5d7b9
commit bdd428a6d9
No known key found for this signature in database
GPG key ID: 583A612D890159BE
33 changed files with 347 additions and 343 deletions

View file

@ -60,7 +60,7 @@ function searchVideoChannels (req: express.Request, res: express.Response) {
// Handle strings like @toto@example.com
if (parts.length === 3 && parts[0].length === 0) parts.shift()
const isWebfingerSearch = parts.length === 2 && parts.every(p => p && p.indexOf(' ') === -1)
const isWebfingerSearch = parts.length === 2 && parts.every(p => p && !p.includes(' '))
if (isURISearch || isWebfingerSearch) return searchVideoChannelURI(search, isWebfingerSearch, res)