Make notifications about new statuses from muted threads read

This commit is contained in:
Sergey Suprunenko 2020-08-17 00:07:23 +02:00
commit 25c69e271a
No known key found for this signature in database
GPG key ID: 5DCA7D1BE3914F9C
4 changed files with 10 additions and 3 deletions

View file

@ -465,7 +465,7 @@ defmodule Pleroma.Web.CommonAPI do
end
def thread_muted?(%User{id: user_id}, %{data: %{"context" => context}})
when is_binary("context") do
when is_binary(context) do
ThreadMute.exists?(user_id, context)
end