Remove withReplies NAND withFiles check
This commit is contained in:
parent
86a77a9dba
commit
6e0f7195b3
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue