summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/model/conversation.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/model/conversation.go b/internal/api/model/conversation.go
index ba961cecb..41ac7d6ba 100644
--- a/internal/api/model/conversation.go
+++ b/internal/api/model/conversation.go
@@ -27,6 +27,10 @@ type Conversation struct {
// Is the conversation currently marked as unread?
Unread bool `json:"unread"`
// Participants in the conversation.
+ //
+ // If this is a conversation between no accounts (ie., a self-directed DM),
+ // this will include only the requesting account itself. Otherwise, it will
+ // include every other account in the conversation *except* the requester.
Accounts []Account `json:"accounts"`
// The last status in the conversation. May be `null`.
LastStatus *Status `json:"last_status"`