[bug] /api/v1/conversations
returns incomplete accounts
property in Conversation
object
#3385
Labels
bug
Something isn't working
Describe the bug with a clear and concise description of what the bug is.
/api/v1/conversations
returns an array ofConversation
. EachConversation
has anaccounts
property, which is a list of the accounts of the participants in the conversation.This property omits the account of the current user. It shouldn't -- the current user should always be included.
What's your GoToSocial Version?
3.5.3+0.17.0-SNAPSHOT+git-713e733
GoToSocial Arch
Don't know, I'm not the server admin
What happened?
Make API request to
/api/v1/conversations
with an authenticated token for an account that has conversations. Inspect the result, and see that the user's account is missing from theaccounts
property.What you expected to happen?
Each
Conversation
'saccounts
property should always contain the user's account, plus the other accounts in the conversation.How to reproduce it?
accounts
property is an empty listIf you do this and do mention any other users you can also verify that the sending account is not in the
accounts
property.Anything else we need to know?
Stock Mastodon appears to return the user's account in the
accounts
property, so it is always non-empty.Reported by a Pachli user in pachli/pachli-android#971
The text was updated successfully, but these errors were encountered: