From 70b072505f523ae508aa5938d3f1f291e2b9fb21 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 13 Apr 2024 08:51:22 +0900 Subject: [PATCH] fix --- at/feed-generator/src/subscription.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/at/feed-generator/src/subscription.ts b/at/feed-generator/src/subscription.ts index efd5300..46b97aa 100644 --- a/at/feed-generator/src/subscription.ts +++ b/at/feed-generator/src/subscription.ts @@ -20,8 +20,8 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase { const postsToCreate = ops.posts.creates .filter((create) => { // only alf-related posts - return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai '); - //return create.record.text.toLowerCase().includes('alf') + return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai ') || create.record.text.match('^ai '); + //return create.record.text.toLowerCase().includes('alf') }) .map((create) => { // map alf-related posts to a db row