remove no longer needed "as PackedUser/PackedNote"
This commit is contained in:
parent
c86ac1c6ec
commit
93fd76f841
6 changed files with 9 additions and 11 deletions
|
|
@ -95,7 +95,7 @@ export class NoteRepository extends Repository<Note> {
|
|||
hide = true;
|
||||
} else if (meId === packedNote.userId) {
|
||||
hide = false;
|
||||
} else if (packedNote.reply && (meId === (packedNote.reply as PackedNote).userId)) {
|
||||
} else if (packedNote.reply && (meId === packedNote.reply.userId)) {
|
||||
// 自分の投稿に対するリプライ
|
||||
hide = false;
|
||||
} else if (packedNote.mentions && packedNote.mentions.some(id => meId === id)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue