mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-24 19:26:57 +01:00
fix(backend): fix backward compatibility of antenna
This commit is contained in:
parent
be11fd7508
commit
5b8f8e7087
2 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@ export class AntennaEntityService {
|
||||||
withFile: antenna.withFile,
|
withFile: antenna.withFile,
|
||||||
isActive: antenna.isActive,
|
isActive: antenna.isActive,
|
||||||
hasUnreadNote: false, // TODO
|
hasUnreadNote: false, // TODO
|
||||||
|
notify: false, // 後方互換性のため
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,5 +95,10 @@ export const packedAntennaSchema = {
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
notify: {
|
||||||
|
type: 'boolean',
|
||||||
|
optional: false, nullable: false,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
Loading…
Reference in a new issue