mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 12:19:27 +00:00
parent
3d5d899094
commit
70d346ea95
|
@ -4,6 +4,11 @@ export function autoUnfoldCW (settings, status) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const rawRegex = settings.getIn(['content_warnings', 'filter']);
|
const rawRegex = settings.getIn(['content_warnings', 'filter']);
|
||||||
|
|
||||||
|
if (!rawRegex) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
let regex = null;
|
let regex = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue