|
|
|
@ -84,8 +84,13 @@ export const makeGetStatus = () => {
|
|
|
|
|
statusReblog = 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'));
|
|
|
|
|
const dropRegex = (accountReblog || accountBase).get('id') !== me && regexFromFilters(filters.filter(filter => filter.get('irreversible')));
|
|
|
|
|
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 => {
|
|
|
|
|
map.set('reblog', statusReblog);
|
|
|
|
|