Conversations: Use 'recipients' for accounts in conversation view.
According to gargron, this is the intended usage.
This commit is contained in:
parent
a2b98f6d58
commit
23c46f7e72
3 changed files with 7 additions and 22 deletions
|
|
@ -30,11 +30,5 @@ defmodule Pleroma.Web.MastodonAPI.ConversationViewTest do
|
|||
|
||||
assert [account] = conversation.accounts
|
||||
assert account.id == other_user.id
|
||||
|
||||
assert recipients = conversation.pleroma.recipients
|
||||
recipient_ids = recipients |> Enum.map(& &1.id)
|
||||
|
||||
assert user.id in recipient_ids
|
||||
assert other_user.id in recipient_ids
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue