Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-01-15 20:59:22 -05:00
parent db7f77d163
commit 0ef9a0c5e7
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ pub fn lookup_target(conn: MainDatabase, target: String) -> Result<Json<Vec<WebM
.map_err(Error::Database)?
.into_iter()
.map(Into::into)
.filter(|wm| {
.filter(|wm: &WebMention| {
!wm.source.contains("like/twitter") || !wm.source.contains("like/mastodon")
})
.collect::<Vec<WebMention>>(),