[bugfix] Include own account in conversation when no other accounts involved (#3387)

This commit is contained in:
tobi
2024-10-04 19:22:52 +02:00
committed by GitHub
parent f550f596fa
commit 8bd8c6fb45
4 changed files with 386 additions and 31 deletions

View File

@@ -950,7 +950,12 @@ definitions:
with "direct message" visibility.
properties:
accounts:
description: Participants in the conversation.
description: |-
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.
items:
$ref: '#/definitions/account'
type: array