絵文字ダイアログの不具合の修正
(cherry picked from commit c9d6c17353a663bf68cdea9bcef100f5de5edb68)
This commit is contained in:
parent
ffa81260ac
commit
d607f34380
4 changed files with 50 additions and 23 deletions
|
|
@ -36,6 +36,8 @@ export const paramDef = {
|
|||
} },
|
||||
license: { type: 'string', nullable: true },
|
||||
fileId: { type: 'string', format: 'misskey:id' },
|
||||
isSensitive: { type: 'boolean' },
|
||||
localOnly: { type: 'boolean' },
|
||||
},
|
||||
required: ['name', 'fileId'],
|
||||
} as const;
|
||||
|
|
@ -66,6 +68,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
license: ps.license ?? null,
|
||||
host: null,
|
||||
draft: true,
|
||||
isSensitive: ps.isSensitive ?? false,
|
||||
localOnly: ps.localOnly ?? false,
|
||||
roleIdsThatCanBeUsedThisEmojiAsReaction: [],
|
||||
});
|
||||
|
||||
this.moderationLogService.insertModerationLog(me, 'addEmoji', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue