summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/conversation.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/conversation.go')
-rw-r--r--internal/gtsmodel/conversation.go2
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, ",")
}