Remove withReplies NAND withFiles check

This commit is contained in:
jaina heartles 2024-02-27 14:13:48 -08:00
parent 86a77a9dba
commit 6e0f7195b3
1 changed files with 0 additions and 2 deletions

View File

@ -86,8 +86,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const serverSettings = await this.metaService.fetch();
if (ps.withReplies && ps.withFiles) throw new ApiError(meta.errors.bothWithRepliesAndWithFiles);
// early return if me is blocked by requesting user
if (me != null) {
const userIdsWhoBlockingMe = await this.cacheService.userBlockedCache.fetch(me.id);