Filter by hashtags and urls again

This commit is contained in:
2023-04-01 16:24:35 +02:00
parent d2f2214d65
commit c939b611a9
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export class TimelineReader {
const found_urls = urls.filter(t => post.content.includes(t));
if (found_urls.length === 0 && found_tags.length === 0) {
//return;
return;
}
const youtubeMatches = found_urls.map(u => u.match(YOUTUBE_REGEX)).filter(i => i !== null);