projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ChatOperation: Add media id to example
[akkoma]
/
lib
/
pleroma
/
thread_mute.ex
diff --git
a/lib/pleroma/thread_mute.ex
b/lib/pleroma/thread_mute.ex
index 5768e77111915df56e0942db89c3014bf36bc327..be01d541dab5ef977e1950fd08f63b33834c631e 100644
(file)
--- a/
lib/pleroma/thread_mute.ex
+++ b/
lib/pleroma/thread_mute.ex
@@
-68,8
+68,8
@@
defmodule Pleroma.ThreadMute do
|> Repo.delete_all()
end
- def
check_muted
(user_id, context) do
+ def
exists?
(user_id, context) do
query(user_id, context)
- |> Repo.
all
()
+ |> Repo.
exists?
()
end
end