diff options
author | 2024-07-30 09:29:32 +0000 | |
---|---|---|
committer | 2024-07-30 11:29:32 +0200 | |
commit | 47c26818d6cd1545540e44d3475278a6a4296a77 (patch) | |
tree | b1a2c6046b84d9849af29bf7720c00243005cb89 /internal/gtsmodel/conversation.go | |
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/gtsmodel/conversation.go')
-rw-r--r-- | internal/gtsmodel/conversation.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/conversation.go b/internal/gtsmodel/conversation.go index f03f27458..d17cbe6fe 100644 --- a/internal/gtsmodel/conversation.go +++ b/internal/gtsmodel/conversation.go @@ -62,7 +62,7 @@ type Conversation struct { // ConversationOtherAccountsKey creates an OtherAccountsKey from a list of OtherAccountIDs. func ConversationOtherAccountsKey(otherAccountIDs []string) string { - otherAccountIDs = util.UniqueStrings(otherAccountIDs) + otherAccountIDs = util.Deduplicate(otherAccountIDs) slices.Sort(otherAccountIDs) return strings.Join(otherAccountIDs, ",") } |