(Misskey)検索カラムで投稿内容検索が無効でも、アカウント名検索やタグ検索の結果があれば表示する
This commit is contained in:
parent
38fb89c242
commit
f27ea93ed6
|
@ -3039,7 +3039,12 @@ class Column(
|
|||
}
|
||||
}
|
||||
|
||||
return result
|
||||
// 検索機能が無効だとsearch_query が 400を返すが、他のAPIがデータを返したら成功したことにする
|
||||
return if( list_tmp ?.isNotEmpty() ==true ){
|
||||
TootApiResult()
|
||||
}else {
|
||||
result
|
||||
}
|
||||
} else {
|
||||
if(access_info.isPseudo) {
|
||||
// 1.5.0rc からマストドンの検索APIは認証を要求するようになった
|
||||
|
|
Loading…
Reference in New Issue