From b0268e27e1584d7afcaa3411df454c68130787be Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Oct 2021 11:15:06 +0200 Subject: Fix channel search with complete handle --- server/models/video/video-channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/video') diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts index c04bd4355..8ccb818b3 100644 --- a/server/models/video/video-channel.ts +++ b/server/models/video/video-channel.ts @@ -121,7 +121,7 @@ export type SummaryOptions = { for (const handle of options.handles || []) { const [ preferredUsername, host ] = handle.split('@') - if (!host) { + if (!host || host === WEBSERVER.HOST) { or.push({ '$Actor.preferredUsername$': preferredUsername, '$Actor.serverId$': null -- cgit v1.2.3