mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Refactor
This commit is contained in:
parent
8912ad1b0b
commit
dfb102b8c9
@ -196,7 +196,7 @@ export const hideNote = async (packedNote: any, meId: mongo.ObjectID) => {
|
||||
hide = false;
|
||||
} else {
|
||||
// 指定されているかどうか
|
||||
const specified = packedNote.visibleUserIds.some((id: mongo.ObjectID) => id.equals(meId));
|
||||
const specified = packedNote.visibleUserIds.some((id: any) => meId.equals(id));
|
||||
|
||||
if (specified) {
|
||||
hide = false;
|
||||
|
Loading…
Reference in New Issue
Block a user