Merge pull request #117

fix(custom-timelines): lookup profile by url
This commit is contained in:
LucasGGamerM
2023-03-15 21:10:20 -03:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ public class HtmlParser{
}
}
Map<String, String> idsByUrl=mentions.stream().collect(Collectors.toMap(m->m.url, m->m.id));
Map<String, String> idsByUrl=mentions.stream().filter(mention -> mention.id != null).collect(Collectors.toMap(m->m.url, m->m.id));
// Hashtags in remote posts have remote URLs, these have local URLs so they don't match.
// Map<String, String> tagsByUrl=tags.stream().collect(Collectors.toMap(t->t.url, t->t.name));