fix
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
db7f77d163
commit
0ef9a0c5e7
|
@ -117,7 +117,7 @@ pub fn lookup_target(conn: MainDatabase, target: String) -> Result<Json<Vec<WebM
|
||||||
.map_err(Error::Database)?
|
.map_err(Error::Database)?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(Into::into)
|
.map(Into::into)
|
||||||
.filter(|wm| {
|
.filter(|wm: &WebMention| {
|
||||||
!wm.source.contains("like/twitter") || !wm.source.contains("like/mastodon")
|
!wm.source.contains("like/twitter") || !wm.source.contains("like/mastodon")
|
||||||
})
|
})
|
||||||
.collect::<Vec<WebMention>>(),
|
.collect::<Vec<WebMention>>(),
|
||||||
|
|
Loading…
Reference in New Issue