fix(backend): リノートの評価の順番を変更、isQuote・isQuotePackedの挙動を修正 (MisskeyIO#622)

This commit is contained in:
まっちゃとーにゅ 2024-04-29 07:23:34 +09:00 committed by GitHub
parent ba037963e8
commit dc9a839626
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 11 deletions

View file

@ -70,7 +70,7 @@ class LocalTimelineChannel extends Channel {
}
// 純粋なリノート(引用リノートでないリノート)の場合
if (isRenotePacked(note) && !isQuotePacked(note) && note.renote) {
if (note.renote && isRenotePacked(note) && !isQuotePacked(note)) {
if (!this.withRenotes) return;
if (note.renote.reply) {
const reply = note.renote.reply;