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

@ -791,7 +791,7 @@ export class NoteCreateService implements OnApplicationShutdown {
private isQuote(note: Option): note is Option & { renote: MiNote } & (
{ text: string } | { cw: string } | { reply: MiNote } | { poll: IPoll } | { files: MiDriveFile[] }
) {
// NOTE: SYNC WITH misc/is-quote.ts
// NOTE: SYNC WITH misc/is-renote.ts
return note.renote != null && (
note.text != null ||
note.reply != null ||