Remove unused notContainAnyOma regex

This commit is contained in:
Stefano Pigozzi 2024-09-05 10:19:01 +02:00
parent 8f6d1da008
commit bf792c77f4
No known key found for this signature in database
GPG key ID: 5ADA3868646C3FC0

View file

@ -8,7 +8,6 @@ import { getCurrentInstance } from './store-utils';
const containPixelfed = /pixelfed/i;
const notContainPixelfed = /^(?!.*pixelfed).*$/i;
const containAnyOma = /(?:pler|akk)oma/i
const notContainAnyOma = /^(?! *(?:pler|akk)oma) *$/i
const platformFeatures = {
'@mastodon/lists': notContainPixelfed,
'@mastodon/filters': notContainPixelfed,