mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-21 11:41:00 +00:00
relay: delint
This commit is contained in:
parent
f55ee48c03
commit
427acb0731
1 changed files with 1 additions and 2 deletions
|
@ -43,7 +43,7 @@ impl Post<'_> {
|
|||
.chain(
|
||||
self.tags()
|
||||
.into_iter()
|
||||
.map(|ref s| {
|
||||
.flat_map(|ref s| {
|
||||
// Don't handle the empty hashtag `#`
|
||||
if s.is_empty() {
|
||||
return vec![];
|
||||
|
@ -65,7 +65,6 @@ impl Post<'_> {
|
|||
vec![actor1]
|
||||
}
|
||||
})
|
||||
.flatten()
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue