aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web
diff options
context:
space:
mode:
authorSergey Suprunenko <suprunenko.s@gmail.com>2020-08-17 00:07:23 +0200
committerSergey Suprunenko <suprunenko.s@gmail.com>2020-08-17 00:11:33 +0200
commit25c69e271a3ea6687805e0bd0d4b902cda06e364 (patch)
tree741282e22dfcb5cdcf1603fd1718db02574d2384 /lib/pleroma/web
parent0865f36965f1583085af3a424dbbc89de724fd33 (diff)
downloadpleroma-25c69e271a3ea6687805e0bd0d4b902cda06e364.tar.gz
Make notifications about new statuses from muted threads read
Diffstat (limited to 'lib/pleroma/web')
-rw-r--r--lib/pleroma/web/common_api/common_api.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex
index a8141b28f..5ad2b91c2 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -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