Skip to content

Commit 2d31157

Browse files
committed
enable custom emojis again
1 parent 1952125 commit 2d31157

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/common-constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ export const IS_BIG_SUR_OR_UP = DARWIN_MAJOR_VERSON >= 20
2727
export const IS_MONTEREY_OR_UP = DARWIN_MAJOR_VERSON >= 21
2828
export const IS_VENTURA_OR_UP = DARWIN_MAJOR_VERSON >= 22
2929
export const IS_SEQUOIA_OR_UP = DARWIN_MAJOR_VERSON >= 24
30-
export const IS_SEQUOIA_15_5_OR_UP = DARWIN_MAJOR_VERSON >= 24 && DARWIN_MINOR_VERSION >= 5
3130
export const IS_TAHOE_OR_UP = DARWIN_MAJOR_VERSON >= 25

src/info.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PlatformInfo, MessageDeletionMode, Attribute, Participant } from '@textshq/platform-sdk'
2-
import { supportedReactions, IS_MONTEREY_OR_UP, IS_VENTURA_OR_UP, IS_SEQUOIA_OR_UP, IS_SEQUOIA_15_5_OR_UP, IS_TAHOE_OR_UP } from './common-constants'
2+
import { supportedReactions, IS_MONTEREY_OR_UP, IS_VENTURA_OR_UP, IS_SEQUOIA_OR_UP } from './common-constants'
33
import { isSelectable } from './common-util'
44
import { BeeperMessage } from './desktop-types'
55

@@ -49,7 +49,7 @@ const info: PlatformInfo = {
4949
].filter(Boolean) : []
5050
),
5151
]),
52-
reactions: IS_SEQUOIA_OR_UP && !IS_SEQUOIA_15_5_OR_UP && !IS_TAHOE_OR_UP ? { supported: supportedReactions, canReactWithAllEmojis: true } : { supported: supportedReactions },
52+
reactions: IS_SEQUOIA_OR_UP ? { supported: supportedReactions, canReactWithAllEmojis: true } : { supported: supportedReactions },
5353
attachments: {
5454
gifMimeType: 'image/gif',
5555
maxSize: {

0 commit comments

Comments
 (0)