From 7762c112ce12b57e7663bb4d4b3a6509eb925112 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 13 Apr 2024 08:52:26 +0900 Subject: [PATCH] fix --- at/feed-generator/src/subscription.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/at/feed-generator/src/subscription.ts b/at/feed-generator/src/subscription.ts index 46b97aa..a05fce8 100644 --- a/at/feed-generator/src/subscription.ts +++ b/at/feed-generator/src/subscription.ts @@ -19,8 +19,7 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase { const postsToDelete = ops.posts.deletes.map((del) => del.uri) const postsToCreate = ops.posts.creates .filter((create) => { - // only alf-related posts - return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai ') || create.record.text.match('^ai '); + 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) => {