From 52a350a15c34aa13bffaeedeb39de37cb0534fde Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 11:06:36 +0100 Subject: Fix muted accounts on overviews --- server/controllers/api/overviews.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/controllers/api/overviews.ts') diff --git a/server/controllers/api/overviews.ts b/server/controllers/api/overviews.ts index fb31932aa..ad879aad6 100644 --- a/server/controllers/api/overviews.ts +++ b/server/controllers/api/overviews.ts @@ -114,6 +114,7 @@ async function getVideos ( sort: '-createdAt', includeLocalVideos: true, nsfw: buildNSFWFilter(res), + user: res.locals.oauth ? res.locals.oauth.token.User : undefined, withFiles: false, countVideos: false }, where) -- cgit v1.2.3