Merge branch 'fix/dont-show-dms-in-mentions-timeline' into 'develop'
[#675] Do not show DMs in mentions timeline See merge request pleroma/pleroma!877
This commit is contained in:
commit
9b63fda9c7
4 changed files with 54 additions and 1 deletions
|
|
@ -167,6 +167,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
params
|
||||
|> Map.put("type", ["Create", "Announce", "Follow", "Like"])
|
||||
|> Map.put("blocking_user", user)
|
||||
|> Map.put(:visibility, ~w[unlisted public private])
|
||||
|
||||
activities = ActivityPub.fetch_activities([user.ap_id], params)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue