From 6a4bfbf6210c6b8842aff23b7672a60f35f9b2aa Mon Sep 17 00:00:00 2001 From: "zyn on thu.closed.social" Date: Wed, 30 Oct 2019 19:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E9=9D=9Eclosed.social?= =?UTF-8?q?=E7=9A=84mastodon=E5=AE=9E=E4=BE=8B=20Warning:=E7=A1=AC?= =?UTF-8?q?=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/domain_control_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/helpers/domain_control_helper.rb b/app/helpers/domain_control_helper.rb index 067b2c2cd..18d37b9cc 100644 --- a/app/helpers/domain_control_helper.rb +++ b/app/helpers/domain_control_helper.rb @@ -12,6 +12,8 @@ module DomainControlHelper end end + return !domain.end_with?('closed.social') + if whitelist_mode? !DomainAllow.allowed?(domain) else