Merge branch 'with-mutes' into 'develop'
Add `with_muted` param. Closes #683 See merge request pleroma/pleroma!872
This commit is contained in:
commit
cf426a719d
10 changed files with 58 additions and 287 deletions
|
|
@ -168,7 +168,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
reblogged: present?(repeated),
|
||||
favourited: present?(favorited),
|
||||
bookmarked: present?(bookmarked),
|
||||
muted: CommonAPI.thread_muted?(user, activity),
|
||||
muted: CommonAPI.thread_muted?(user, activity) || User.mutes?(opts[:for], user),
|
||||
pinned: pinned?(activity, user),
|
||||
sensitive: sensitive,
|
||||
spoiler_text: object["summary"] || "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue