Refactoring
This commit is contained in:
parent
c8b6b6e44f
commit
7c7f32d9a6
32 changed files with 1125 additions and 1111 deletions
|
@ -6,7 +6,8 @@ import pack from '../../remote/activitypub/renderer';
|
|||
import { deliver } from '../../queue';
|
||||
import Following from '../../models/following';
|
||||
import renderTombstone from '../../remote/activitypub/renderer/tombstone';
|
||||
import { notesStats, perUserNotesStats } from '../stats';
|
||||
import notesChart from '../../chart/notes';
|
||||
import perUserNotesChart from '../../chart/per-user-notes';
|
||||
import config from '../../config';
|
||||
import NoteUnread from '../../models/note-unread';
|
||||
import read from './read';
|
||||
|
@ -63,6 +64,6 @@ export default async function(user: IUser, note: INote) {
|
|||
//#endregion
|
||||
|
||||
// 統計を更新
|
||||
notesStats.update(note, false);
|
||||
perUserNotesStats.update(user, note, false);
|
||||
notesChart.update(note, false);
|
||||
perUserNotesChart.update(user, note, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue