Eugen Rochko
há 4 anos
committed by
GitHub
ascendente
cometimento
2999c95596
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
2 ficheiros alterados com
2 adições e
2 eliminações
-
app/controllers/api/v1/accounts/follower_accounts_controller.rb
-
app/controllers/api/v1/accounts/following_accounts_controller.rb
|
|
@@ -25,7 +25,7 @@ class Api::V1::Accounts::FollowerAccountsController < Api::BaseController |
|
|
|
end |
|
|
|
|
|
|
|
def hide_results? |
|
|
|
(@account.user_hides_network? && current_account.id != @account.id) || (current_account && @account.blocking?(current_account)) |
|
|
|
(@account.user_hides_network? && current_account&.id != @account.id) || (current_account && @account.blocking?(current_account)) |
|
|
|
end |
|
|
|
|
|
|
|
def default_accounts |
|
|
|
|
|
@@ -25,7 +25,7 @@ class Api::V1::Accounts::FollowingAccountsController < Api::BaseController |
|
|
|
end |
|
|
|
|
|
|
|
def hide_results? |
|
|
|
(@account.user_hides_network? && current_account.id != @account.id) || (current_account && @account.blocking?(current_account)) |
|
|
|
(@account.user_hides_network? && current_account&.id != @account.id) || (current_account && @account.blocking?(current_account)) |
|
|
|
end |
|
|
|
|
|
|
|
def default_accounts |
|
|
|