Resolve #2963
This commit is contained in:
parent
aa50d0ee11
commit
969b6dbcad
14 changed files with 584 additions and 420 deletions
|
@ -23,7 +23,7 @@ import registerHashtag from '../register-hashtag';
|
|||
import isQuote from '../../misc/is-quote';
|
||||
import { TextElementMention } from '../../mfm/parse/elements/mention';
|
||||
import { TextElementHashtag } from '../../mfm/parse/elements/hashtag';
|
||||
import { coreChart } from '../stats';
|
||||
import { notesChart } from '../stats';
|
||||
import { erase, unique } from '../../prelude/array';
|
||||
import insertNoteUnread from './unread';
|
||||
|
||||
|
@ -165,7 +165,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||
}
|
||||
|
||||
// 統計を更新
|
||||
coreChart.updateNoteStats(note, true);
|
||||
notesChart.update(note, true);
|
||||
|
||||
// ハッシュタグ登録
|
||||
tags.map(tag => registerHashtag(user, tag));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue