Do not use _replyIds (#3392)
This commit is contained in:
parent
915d352505
commit
f2f7bdc5a9
3 changed files with 10 additions and 14 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue