Skip to content

Commit 653ae7e

Browse files
committed
fixup! Removed redundant condition
1 parent 7eaf3f6 commit 653ae7e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/dispatchers.ts

-5
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ export async function handleAccept(ctx: Context<ContextData>, accept: Accept) {
114114
ctx.data.logger.info('Handling Accept');
115115
const parsed = (ctx as any).parseUri(accept.objectId);
116116
ctx.data.logger.info('Parsed accept object', { parsed });
117-
// biome-ignore lint/correctness/noConstantCondition: present when adding linting
118-
if (false && parsed?.type !== 'follow') {
119-
ctx.data.logger.info('Not accepting a follow - exit');
120-
return;
121-
}
122117
if (!accept.id) {
123118
ctx.data.logger.info('Accept missing id - exit');
124119
return;

0 commit comments

Comments
 (0)