From 08c176e549e6ba2fc1a4cbbf4b09c7d0226c7f13 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Mar 2019 01:03:35 +0900 Subject: 不明なリアクションのフォールバックに star を使うようにするオプション MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/meta.ts | 1 + src/models/note-reaction.ts | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src/models') diff --git a/src/models/meta.ts b/src/models/meta.ts index bea4714bf7..5ca0f01236 100644 --- a/src/models/meta.ts +++ b/src/models/meta.ts @@ -195,6 +195,7 @@ export type IMeta = { disableLocalTimeline?: boolean; disableGlobalTimeline?: boolean; enableEmojiReaction?: boolean; + useStarForReactionFallback?: boolean; hidedTags?: string[]; mascotImageUrl?: string; bannerUrl?: string; diff --git a/src/models/note-reaction.ts b/src/models/note-reaction.ts index 1152161ea5..dc741614a7 100644 --- a/src/models/note-reaction.ts +++ b/src/models/note-reaction.ts @@ -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 */ -- cgit v1.2.3-freya