diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-18 01:03:35 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-18 01:03:35 +0900 |
| commit | 08c176e549e6ba2fc1a4cbbf4b09c7d0226c7f13 (patch) | |
| tree | 3845ba37f43f568ef60fb9370c79c0454e4dda5b /src/models | |
| parent | Update black.json5 (diff) | |
| download | sharkey-08c176e549e6ba2fc1a4cbbf4b09c7d0226c7f13.tar.gz sharkey-08c176e549e6ba2fc1a4cbbf4b09c7d0226c7f13.tar.bz2 sharkey-08c176e549e6ba2fc1a4cbbf4b09c7d0226c7f13.zip | |
不明なリアクションのフォールバックに star を使うようにするオプション
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/meta.ts | 1 | ||||
| -rw-r--r-- | src/models/note-reaction.ts | 13 |
2 files changed, 1 insertions, 13 deletions
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 */ |