This commit is contained in:
parent
bf8cf0bec5
commit
70b072505f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user