projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo fix
[akkoma]
/
lib
/
pleroma
/
web
/
common_api
/
common_api.ex
diff --git
a/lib/pleroma/web/common_api/common_api.ex
b/lib/pleroma/web/common_api/common_api.ex
index 091011c6b1082abf268221c2b80c2a4169e66cf8..2646b9f7b8887c31cc685e54c4c3a68be15da0c6 100644
(file)
--- a/
lib/pleroma/web/common_api/common_api.ex
+++ b/
lib/pleroma/web/common_api/common_api.ex
@@
-358,7
+358,7
@@
defmodule Pleroma.Web.CommonAPI do
def thread_muted?(%{id: nil} = _user, _activity), do: false
def thread_muted?(user, activity) do
def thread_muted?(%{id: nil} = _user, _activity), do: false
def thread_muted?(user, activity) do
- ThreadMute.
check_muted(user.id, activity.data["context"]) != []
+ ThreadMute.
exists?(user.id, activity.data["context"])
end
def report(user, %{"account_id" => account_id} = data) do
end
def report(user, %{"account_id" => account_id} = data) do