Merge branch 'fix/1658-invite-send' into 'develop'
[akkoma] / lib / pleroma / web / common_api / common_api.ex
index 74adcca55acf6f14e248dcee85e59f7ea63598b8..636cf3301e14c5f8a7e5a3f06d2da83f2c9dea57 100644 (file)
@@ -394,7 +394,7 @@ defmodule Pleroma.Web.CommonAPI 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