ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように
* 🎨
* Increase limit
* リモートユーザーも表示
* Fix bug
* Fix bug
* Improve performance
This commit is contained in:
parent
03e2c7eec6
commit
1d5a54ff6f
22 changed files with 366 additions and 56 deletions
|
@ -19,7 +19,7 @@ import UserList from '../../models/user-list';
|
|||
import resolveUser from '../../remote/resolve-user';
|
||||
import Meta from '../../models/meta';
|
||||
import config from '../../config';
|
||||
import registerHashtag from '../register-hashtag';
|
||||
import { updateHashtag } from '../update-hashtag';
|
||||
import isQuote from '../../misc/is-quote';
|
||||
import notesChart from '../../services/chart/notes';
|
||||
import perUserNotesChart from '../../services/chart/per-user-notes';
|
||||
|
@ -235,7 +235,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||
}
|
||||
|
||||
// ハッシュタグ登録
|
||||
for (const tag of tags) registerHashtag(user, tag);
|
||||
for (const tag of tags) updateHashtag(user, tag);
|
||||
|
||||
// ファイルが添付されていた場合ドライブのファイルの「このファイルが添付された投稿一覧」プロパティにこの投稿を追加
|
||||
if (data.files) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue