Skip to content

Commit

Permalink
Wip: 削除時の処理を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 10, 2023
1 parent c5bcd1e commit fece007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/friend_domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fece007

Please sign in to comment.