1
0
This commit is contained in:
syui 2024-04-13 06:51:28 +09:00
parent 7cf1c5d8c5
commit 1d8a058eca
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

@ -20,7 +20,7 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase {
const postsToCreate = ops.posts.creates
.filter((create) => {
// only alf-related posts
return create.record.text.match('^/[a-z]');
return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai');
//return create.record.text.toLowerCase().includes('alf')
})
.map((create) => {