mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-03 04:18:08 -06:00
[chore] add some more slice related utility functions + remove duplicated functions (#3149)
This commit is contained in:
parent
a237e2b295
commit
47c26818d6
7 changed files with 216 additions and 43 deletions
|
|
@ -856,6 +856,7 @@ func (c *Converter) statusToAPIFilterResults(
|
|||
for _, mention := range s.Mentions {
|
||||
otherAccounts = append(otherAccounts, mention.TargetAccount)
|
||||
}
|
||||
|
||||
// If there are no other accounts, skip this check.
|
||||
if len(otherAccounts) > 0 {
|
||||
// Start by assuming that they're all invisible or muted.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue