不明なリアクションのフォールバックに star を使うようにするオプション

This commit is contained in:
syuilo
2019-03-18 01:03:35 +09:00
parent 810ed50976
commit 08c176e549
10 changed files with 26 additions and 16 deletions

View File

@ -195,6 +195,7 @@ export type IMeta = {
disableLocalTimeline?: boolean;
disableGlobalTimeline?: boolean;
enableEmojiReaction?: boolean;
useStarForReactionFallback?: boolean;
hidedTags?: string[];
mascotImageUrl?: string;
bannerUrl?: string;

View File

@ -20,19 +20,6 @@ export interface INoteReaction {
reaction: string;
}
export const validateReaction = $.str.or([
'like',
'love',
'laugh',
'hmm',
'surprise',
'congrats',
'angry',
'confused',
'rip',
'pudding'
]);
/**
* Pack a reaction for API response
*/