diff options
author | 2024-07-30 09:29:32 +0000 | |
---|---|---|
committer | 2024-07-30 11:29:32 +0200 | |
commit | 47c26818d6cd1545540e44d3475278a6a4296a77 (patch) | |
tree | b1a2c6046b84d9849af29bf7720c00243005cb89 /internal/typeutils | |
parent | [feature] Implement following hashtags (#3141) (diff) | |
download | gotosocial-47c26818d6cd1545540e44d3475278a6a4296a77.tar.xz |
[chore] add some more slice related utility functions + remove duplicated functions (#3149)
Diffstat (limited to 'internal/typeutils')
-rw-r--r-- | internal/typeutils/internaltofrontend.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index c555e1d04..70230cd89 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -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. |