This commit is contained in:
parent
7cf1c5d8c5
commit
1d8a058eca
@ -20,7 +20,7 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase {
|
|||||||
const postsToCreate = ops.posts.creates
|
const postsToCreate = ops.posts.creates
|
||||||
.filter((create) => {
|
.filter((create) => {
|
||||||
// only alf-related posts
|
// 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')
|
//return create.record.text.toLowerCase().includes('alf')
|
||||||
})
|
})
|
||||||
.map((create) => {
|
.map((create) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user