mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] add some more slice related utility functions + remove duplicated functions (#3149)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user