TwitterAPI: Fix dm_timeline displaying only half of the conversation.
This commit is contained in:
parent
2f639ea129
commit
f87b315618
2 changed files with 10 additions and 3 deletions
|
|
@ -130,7 +130,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
query =
|
||||
ActivityPub.fetch_activities_query(
|
||||
[user.ap_id],
|
||||
Map.merge(params, %{"type" => "Create", visibility: "direct"})
|
||||
Map.merge(params, %{"type" => "Create", "user" => user, visibility: "direct"})
|
||||
)
|
||||
|
||||
activities = Repo.all(query)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue