diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-08-26 16:37:25 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-08-26 16:37:25 -0500 |
commit | c199e18bb5b1a923029248783c60acf7c9597f64 (patch) | |
tree | eaae6461c41c5ed526cc1a7cb106c6c881cafcb4 /lib/pleroma/web/common_api/common_api.ex | |
parent | 98f8851f29f940051656caa1715820bce70f8c29 (diff) | |
parent | 6f17aea066498bf070f0decb3ac0508c6b04e3b8 (diff) | |
download | pleroma-c199e18bb5b1a923029248783c60acf7c9597f64.tar.gz |
Merge branch 'develop' into 2168-media-preview-proxy2168-media-preview-proxy
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 2 |
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 |