Accept Article object (#4499)
This commit is contained in:
parent
68d43e43b6
commit
56eb896a03
7 changed files with 13 additions and 11 deletions
|
@ -41,6 +41,7 @@ export type INote = {
|
|||
replyId: mongo.ObjectID;
|
||||
renoteId: mongo.ObjectID;
|
||||
poll: IPoll;
|
||||
name?: string;
|
||||
text: string;
|
||||
tags: string[];
|
||||
tagsLower: string[];
|
||||
|
@ -391,6 +392,10 @@ export const pack = async (
|
|||
}
|
||||
//#endregion
|
||||
|
||||
if (_note.name) {
|
||||
_note.text = `【${_note.name}】\n${_note.text}`;
|
||||
}
|
||||
|
||||
if (_note.user.isCat && _note.text) {
|
||||
_note.text = (_note.text
|
||||
// ja-JP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue