Do not use _replyIds (#3392)

This commit is contained in:
MeiMei 2018-11-23 23:12:28 +09:00 committed by syuilo
parent 915d352505
commit f2f7bdc5a9
3 changed files with 10 additions and 14 deletions

View file

@ -622,9 +622,6 @@ function saveQuote(renote: INote, note: INote) {
function saveReply(reply: INote, note: INote) {
Note.update({ _id: reply._id }, {
$push: {
_replyIds: note._id
},
$inc: {
repliesCount: 1
}