Skip to content
Snippets Groups Projects
Commit d381d31e authored by syuilo's avatar syuilo
Browse files

add note

parent 65e7204e
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,8 @@ export default class Connection {
}
if (this.user && read) {
// TODO: クライアントでタイムライン読み込みなどすると、一度に大量のreadNoteが発生しクエリ数がすごいことになるので、ある程度まとめてreadNoteするようにする
// 具体的には、この箇所ではキュー的な配列にread予定ノートを溜めておくに留めて、別の箇所で定期的にキューにあるノートを配列でreadNoteに渡すような実装にする
readNote(this.user.id, payload.id);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment