|
|
@ -84,8 +84,13 @@ export const makeGetStatus = () => {
|
|
|
|
statusReblog = null;
|
|
|
|
statusReblog = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const regex = (accountReblog || accountBase).get('id') !== me && regexFromFilters(filters);
|
|
|
|
const dropRegex = (accountReblog || accountBase).get('id') !== me && regexFromFilters(filters.filter(filter => filter.get('irreversible')));
|
|
|
|
const filtered = regex && regex.test(statusBase.get('reblog') ? statusReblog.get('search_index') : statusBase.get('search_index'));
|
|
|
|
if (dropRegex && dropRegex.test(statusBase.get('reblog') ? statusReblog.get('search_index') : statusBase.get('search_index'))) {
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const regex = (accountReblog || accountBase).get('id') !== me && regexFromFilters(filters);
|
|
|
|
|
|
|
|
const filtered = regex && regex.test(statusBase.get('reblog') ? statusReblog.get('search_index') : statusBase.get('search_index'));
|
|
|
|
|
|
|
|
|
|
|
|
return statusBase.withMutations(map => {
|
|
|
|
return statusBase.withMutations(map => {
|
|
|
|
map.set('reblog', statusReblog);
|
|
|
|
map.set('reblog', statusReblog);
|
|
|
|