From fece007fde74efe838db4d390968540823b42be6 Mon Sep 17 00:00:00 2001 From: KMY Date: Tue, 10 Oct 2023 19:24:22 +0900 Subject: [PATCH] =?UTF-8?q?Wip:=20=E5=89=8A=E9=99=A4=E6=99=82=E3=81=AE?= =?UTF-8?q?=E5=87=A6=E7=90=86=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/friend_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/friend_domain.rb b/app/models/friend_domain.rb index 76e18b6bf6467f..e919a9132e0b84 100644 --- a/app/models/friend_domain.rb +++ b/app/models/friend_domain.rb @@ -167,7 +167,7 @@ def some_local_account end def ensure_disabled - delete_for_friend! unless i_am_idle? && they_are_idle? + delete_for_friend! unless id.nil? || (i_am_idle? && they_are_idle?) end def set_default_inbox_url