We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f50db3 commit 067410dCopy full SHA for 067410d
packages/frontend/src/scripts/entity-manager.ts
@@ -163,14 +163,14 @@ export class NoteManager {
163
164
const renote = note.renoteId ? this.getRaw(note.renoteId) : undefined;
165
// renoteが削除されている場合はCASCADE削除されるためnullを返す
166
- if (!renote) {
+ if (note.renoteId && !renote) {
167
if (this.isDebuggerEnabled) console.log('NoteManager: compute note: renote is null', id, note.renoteId);
168
return null;
169
}
170
171
const reply = note.replyId ? this.getRaw(note.replyId) : undefined;
172
// replyが削除されている場合はCASCADE削除されるためnullを返す
173
- if (!reply) {
+ if (note.replyId && !reply) {
174
if (this.isDebuggerEnabled) console.log('NoteManager: compute note: reply is null', id, note.replyId);
175
176
0 commit comments