diff --git a/src/assets/tgs/animatedEmojis/Cumshot.tgs b/src/assets/tgs/animatedEmojis/Cumshot.tgs deleted file mode 100644 index 2f316b92d..000000000 Binary files a/src/assets/tgs/animatedEmojis/Cumshot.tgs and /dev/null differ diff --git a/src/assets/tgs/animatedEmojis/Eggplant.tgs b/src/assets/tgs/animatedEmojis/Eggplant.tgs deleted file mode 100644 index b0412f5c0..000000000 Binary files a/src/assets/tgs/animatedEmojis/Eggplant.tgs and /dev/null differ diff --git a/src/assets/tgs/animatedEmojis/Peach.tgs b/src/assets/tgs/animatedEmojis/Peach.tgs deleted file mode 100644 index 78d40f9f3..000000000 Binary files a/src/assets/tgs/animatedEmojis/Peach.tgs and /dev/null differ diff --git a/src/components/common/helpers/animatedAssets.ts b/src/components/common/helpers/animatedAssets.ts index 390eb9df4..1fec154d2 100644 --- a/src/components/common/helpers/animatedAssets.ts +++ b/src/components/common/helpers/animatedAssets.ts @@ -19,10 +19,6 @@ import VoiceMini from '../../../assets/tgs/calls/VoiceMini.tgs'; import VoiceMuted from '../../../assets/tgs/calls/VoiceMuted.tgs'; import VoiceOutlined from '../../../assets/tgs/calls/VoiceOutlined.tgs'; -import Peach from '../../../assets/tgs/animatedEmojis/Peach.tgs'; -import Eggplant from '../../../assets/tgs/animatedEmojis/Eggplant.tgs'; -import Cumshot from '../../../assets/tgs/animatedEmojis/Cumshot.tgs'; - import JoinRequest from '../../../assets/tgs/invites/Requests.tgs'; import Invite from '../../../assets/tgs/invites/Invite.tgs'; @@ -45,9 +41,6 @@ export const LOCAL_TGS_URLS = { VoiceMini, VoiceMuted, VoiceOutlined, - Peach, - Eggplant, - Cumshot, JoinRequest, Invite, QrPlane, diff --git a/src/components/common/hooks/useAnimatedEmoji.ts b/src/components/common/hooks/useAnimatedEmoji.ts index 7e762c0eb..96327dfe8 100644 --- a/src/components/common/hooks/useAnimatedEmoji.ts +++ b/src/components/common/hooks/useAnimatedEmoji.ts @@ -6,7 +6,6 @@ import { getActions } from '../../../global'; import type { ActiveEmojiInteraction } from '../../../global/types'; import safePlay from '../../../util/safePlay'; -import { selectLocalAnimatedEmojiEffectByName } from '../../../global/selectors'; import buildStyle from '../../../util/buildStyle'; import { REM } from '../helpers/mediaDimensions'; @@ -23,7 +22,6 @@ export default function useAnimatedEmoji( soundId?: string, activeEmojiInteractions?: ActiveEmojiInteraction[], isOwn?: boolean, - localEffect?: string, emoji?: string, preferredSize?: number, ) { @@ -31,8 +29,6 @@ export default function useAnimatedEmoji( interactWithAnimatedEmoji, sendEmojiInteraction, sendWatchingEmojiInteraction, } = getActions(); - const hasEffect = localEffect || emoji; - // eslint-disable-next-line no-null/no-null const ref = useRef(null); @@ -42,7 +38,7 @@ export default function useAnimatedEmoji( const soundMediaData = useMedia(soundId ? `document${soundId}` : undefined, !soundId); const size = preferredSize || SIZE; - const style = buildStyle(`width: ${size}px`, `height: ${size}px`, (emoji || localEffect) && 'cursor: pointer'); + const style = buildStyle(`width: ${size}px`, `height: ${size}px`, emoji && 'cursor: pointer'); const interactions = useRef(undefined); const startedInteractions = useRef(undefined); @@ -54,13 +50,12 @@ export default function useAnimatedEmoji( sendEmojiInteraction({ chatId: chatId!, messageId: messageId!, - localEffect, emoji: emoji!, interactions: interactions.current!, }); startedInteractions.current = undefined; interactions.current = undefined; - }, [sendEmojiInteraction, chatId, messageId, localEffect, emoji]); + }, [sendEmojiInteraction, chatId, messageId, emoji]); const play = useCallback(() => { const audio = audioRef.current; @@ -83,14 +78,13 @@ export default function useAnimatedEmoji( const container = ref.current; - if (!hasEffect || !container || !messageId || !chatId) { + if (!emoji || !container || !messageId || !chatId) { return; } const { x, y } = container.getBoundingClientRect(); interactWithAnimatedEmoji({ - localEffect, emoji: emoji!, x, y, @@ -107,10 +101,7 @@ export default function useAnimatedEmoji( interactions.current.push(startedInteractions.current ? (performance.now() - startedInteractions.current) / MS_DIVIDER : TIME_DEFAULT); - }, [ - chatId, emoji, hasEffect, interactWithAnimatedEmoji, isOwn, - localEffect, messageId, play, sendInteractionBunch, size, - ]); + }, [chatId, emoji, interactWithAnimatedEmoji, isOwn, messageId, play, sendInteractionBunch, size]); // Set an end anchor for remote activated interaction useEffect(() => { @@ -132,7 +123,7 @@ export default function useAnimatedEmoji( sendWatchingEmojiInteraction({ id, chatId: chatId!, - emoticon: localEffect ? selectLocalAnimatedEmojiEffectByName(localEffect)! : emoji!, + emoticon: emoji!, startSize: size, x, y, @@ -140,9 +131,7 @@ export default function useAnimatedEmoji( }); play(); }); - }, [ - activeEmojiInteractions, chatId, emoji, isOwn, localEffect, messageId, play, sendWatchingEmojiInteraction, size, - ]); + }, [activeEmojiInteractions, chatId, emoji, isOwn, messageId, play, sendWatchingEmojiInteraction, size]); return { ref, diff --git a/src/components/middle/EmojiInteractionAnimation.tsx b/src/components/middle/EmojiInteractionAnimation.tsx index cfeed3f95..5dd29ffec 100644 --- a/src/components/middle/EmojiInteractionAnimation.tsx +++ b/src/components/middle/EmojiInteractionAnimation.tsx @@ -13,7 +13,6 @@ import buildClassName from '../../util/buildClassName'; import { selectAnimatedEmojiEffect, } from '../../global/selectors'; -import { LOCAL_TGS_URLS } from '../common/helpers/animatedAssets'; import { dispatchHeavyAnimationEvent } from '../../hooks/useHeavyAnimationCheck'; import AnimatedSticker from '../common/AnimatedSticker'; @@ -26,7 +25,6 @@ export type OwnProps = { type StateProps = { effectAnimationId?: string; - localEffectAnimation?: string; }; const HIDE_ANIMATION_DURATION = 250; @@ -35,7 +33,6 @@ const EFFECT_SIZE = 309; const EmojiInteractionAnimation: FC = ({ effectAnimationId, - localEffectAnimation, activeEmojiInteraction, }) => { const { stopActiveEmojiInteraction } = getActions(); @@ -91,9 +88,6 @@ const EmojiInteractionAnimation: FC = ({ } const scale = (activeEmojiInteraction.startSize || 0) / EFFECT_SIZE; - const tgsUrl = localEffectAnimation && (localEffectAnimation in LOCAL_TGS_URLS) - ? LOCAL_TGS_URLS[localEffectAnimation as keyof typeof LOCAL_TGS_URLS] - : effectTgsUrl; return (
= ({ ( && selectAnimatedEmojiEffect(global, activeEmojiInteraction.animatedEffect); return { effectAnimationId: animatedEffect ? animatedEffect.id : undefined, - localEffectAnimation: !animatedEffect && activeEmojiInteraction.animatedEffect - && Object.keys(LOCAL_TGS_URLS).includes(activeEmojiInteraction.animatedEffect) - ? activeEmojiInteraction.animatedEffect : undefined, }; }, )(EmojiInteractionAnimation)); diff --git a/src/components/middle/message/AnimatedCustomEmoji.tsx b/src/components/middle/message/AnimatedCustomEmoji.tsx index efd745604..130b55487 100644 --- a/src/components/middle/message/AnimatedCustomEmoji.tsx +++ b/src/components/middle/message/AnimatedCustomEmoji.tsx @@ -54,7 +54,7 @@ const AnimatedCustomEmoji: FC = ({ style, handleClick, } = useAnimatedEmoji( - chatId, messageId, soundId, activeEmojiInteractions, isOwn, undefined, effect?.emoji, getCustomEmojiSize(1), + chatId, messageId, soundId, activeEmojiInteractions, isOwn, effect?.emoji, getCustomEmojiSize(1), ); return ( diff --git a/src/components/middle/message/AnimatedEmoji.tsx b/src/components/middle/message/AnimatedEmoji.tsx index c37d6283a..b3e56309f 100644 --- a/src/components/middle/message/AnimatedEmoji.tsx +++ b/src/components/middle/message/AnimatedEmoji.tsx @@ -6,21 +6,17 @@ import type { ApiSticker } from '../../../api/types'; import type { ActiveEmojiInteraction } from '../../../global/types'; import type { ObserveFn } from '../../../hooks/useIntersectionObserver'; -import { LOCAL_TGS_URLS } from '../../common/helpers/animatedAssets'; import { LIKE_STICKER_ID } from '../../common/helpers/mediaDimensions'; import { selectAnimatedEmoji, selectAnimatedEmojiEffect, selectAnimatedEmojiSound, - selectLocalAnimatedEmoji, - selectLocalAnimatedEmojiEffect, } from '../../../global/selectors'; import buildClassName from '../../../util/buildClassName'; import { useIsIntersecting } from '../../../hooks/useIntersectionObserver'; import useAnimatedEmoji from '../../common/hooks/useAnimatedEmoji'; import AnimatedIconFromSticker from '../../common/AnimatedIconFromSticker'; -import AnimatedIconWithPreview from '../../common/AnimatedIconWithPreview'; import './AnimatedEmoji.scss'; @@ -39,8 +35,6 @@ type OwnProps = { interface StateProps { sticker?: ApiSticker; effect?: ApiSticker; - localSticker?: keyof typeof LOCAL_TGS_URLS; - localEffect?: string; soundId?: string; } @@ -56,8 +50,6 @@ const AnimatedEmoji: FC = ({ activeEmojiInteractions, sticker, effect, - localSticker, - localEffect, soundId, }) => { const { @@ -65,22 +57,10 @@ const AnimatedEmoji: FC = ({ size, style, handleClick, - } = useAnimatedEmoji(chatId, messageId, soundId, activeEmojiInteractions, isOwn, localEffect, effect?.emoji); + } = useAnimatedEmoji(chatId, messageId, soundId, activeEmojiInteractions, isOwn, effect?.emoji); const isIntersecting = useIsIntersecting(ref, observeIntersection); - return localSticker ? ( - - ) : ( + return ( = ({ }; export default memo(withGlobal((global, { emoji, withEffects }) => { - const localSticker = selectLocalAnimatedEmoji(global, emoji); - return { sticker: selectAnimatedEmoji(global, emoji), effect: withEffects ? selectAnimatedEmojiEffect(global, emoji) : undefined, soundId: selectAnimatedEmojiSound(global, emoji), - localSticker, - localEffect: localSticker && withEffects ? selectLocalAnimatedEmojiEffect(localSticker) : undefined, }; })(AnimatedEmoji)); diff --git a/src/components/middle/message/Message.tsx b/src/components/middle/message/Message.tsx index 79bdb4bb0..2271ead5e 100644 --- a/src/components/middle/message/Message.tsx +++ b/src/components/middle/message/Message.tsx @@ -59,7 +59,6 @@ import { selectDefaultReaction, selectReplySender, selectAnimatedEmoji, - selectLocalAnimatedEmoji, selectIsCurrentUserPremium, selectIsChatProtected, selectTopicFromMessage, @@ -1262,9 +1261,7 @@ export default memo(withGlobal( const { query: highlight } = selectCurrentTextSearch(global) || {}; const singleEmoji = getMessageSingleRegularEmoji(message); - const animatedEmoji = singleEmoji && ( - selectAnimatedEmoji(global, singleEmoji) || selectLocalAnimatedEmoji(global, singleEmoji) - ) ? singleEmoji : undefined; + const animatedEmoji = singleEmoji && selectAnimatedEmoji(global, singleEmoji) ? singleEmoji : undefined; const animatedCustomEmoji = getMessageSingleCustomEmoji(message); let isSelected: boolean; diff --git a/src/global/actions/api/reactions.ts b/src/global/actions/api/reactions.ts index 5b99f49bb..170d98037 100644 --- a/src/global/actions/api/reactions.ts +++ b/src/global/actions/api/reactions.ts @@ -6,7 +6,6 @@ import { selectChat, selectChatMessage, selectCurrentChat, selectTabState, selectDefaultReaction, - selectLocalAnimatedEmojiEffectByName, selectMaxUserReactions, selectMessageIdsByGroupId, selectCurrentMessageList, @@ -52,12 +51,12 @@ addActionHandler('loadAvailableReactions', async (global): Promise => { addActionHandler('interactWithAnimatedEmoji', (global, actions, payload): ActionReturnType => { const { - emoji, x, y, localEffect, startSize, isReversed, tabId = getCurrentTabId(), + emoji, x, y, startSize, isReversed, tabId = getCurrentTabId(), } = payload!; const activeEmojiInteraction = { id: interactionLocalId++, - animatedEffect: emoji || localEffect, + animatedEffect: emoji, x: subtractXForEmojiInteraction(global, x) + Math.random() * INTERACTION_RANDOM_OFFSET - INTERACTION_RANDOM_OFFSET / 2, y: y + Math.random() * INTERACTION_RANDOM_OFFSET - INTERACTION_RANDOM_OFFSET / 2, @@ -72,19 +71,19 @@ addActionHandler('interactWithAnimatedEmoji', (global, actions, payload): Action addActionHandler('sendEmojiInteraction', (global, actions, payload): ActionReturnType => { const { - messageId, chatId, emoji, interactions, localEffect, + messageId, chatId, emoji, interactions, } = payload!; const chat = selectChat(global, chatId); - if (!chat || (!emoji && !localEffect) || chatId === global.currentUserId) { + if (!chat || !emoji || chatId === global.currentUserId) { return; } void callApi('sendEmojiInteraction', { chat, messageId, - emoticon: emoji || selectLocalAnimatedEmojiEffectByName(localEffect!)!, + emoticon: emoji, timestamps: interactions, }); }); diff --git a/src/global/actions/apiUpdaters/messages.ts b/src/global/actions/apiUpdaters/messages.ts index 782e38c8a..a0fbf76ae 100644 --- a/src/global/actions/apiUpdaters/messages.ts +++ b/src/global/actions/apiUpdaters/messages.ts @@ -48,8 +48,6 @@ import { selectFirstUnreadId, selectChat, selectIsServiceChatReady, - selectLocalAnimatedEmojiEffect, - selectLocalAnimatedEmoji, selectThreadIdFromMessage, selectTopicFromMessage, selectTabState, @@ -153,13 +151,11 @@ addActionHandler('apiUpdate', (global, actions, update): ActionReturnType => { // Workaround for a weird behavior when interaction is received after watching reaction if (getMessageText(message) !== update.emoji) return; - const localEmoji = selectLocalAnimatedEmoji(global, update.emoji); - const tabState = selectTabState(global, tabId); global = updateTabState(global, { activeEmojiInteractions: [...(tabState.activeEmojiInteractions || []), { id: tabState.activeEmojiInteractions?.length || 0, - animatedEffect: localEmoji ? selectLocalAnimatedEmojiEffect(localEmoji) : update.emoji, + animatedEffect: update.emoji, messageId: update.messageId, } as ActiveEmojiInteraction], }, tabId); diff --git a/src/global/selectors/symbols.ts b/src/global/selectors/symbols.ts index c5edfd237..390b0d0b3 100644 --- a/src/global/selectors/symbols.ts +++ b/src/global/selectors/symbols.ts @@ -133,20 +133,6 @@ export function selectAnimatedEmojiSound(global: T, emoji return global?.appConfig?.emojiSounds[cleanEmoji(emoji)]; } -export function selectLocalAnimatedEmoji(global: T, emoji: string) { - const cleanedEmoji = cleanEmoji(emoji); - - return cleanedEmoji === '🍑' ? 'Peach' : (cleanedEmoji === '🍆' ? 'Eggplant' : undefined); -} - -export function selectLocalAnimatedEmojiEffect(emoji: string) { - return emoji === 'Eggplant' ? 'Cumshot' : undefined; -} - -export function selectLocalAnimatedEmojiEffectByName(name: string) { - return name === 'Cumshot' ? '🍆' : undefined; -} - export function selectIsAlwaysHighPriorityEmoji( global: T, stickerSet: ApiStickerSetInfo | ApiStickerSet, ) { diff --git a/src/global/types.ts b/src/global/types.ts index 01057e3ef..2e78cb8bf 100644 --- a/src/global/types.ts +++ b/src/global/types.ts @@ -1167,7 +1167,6 @@ export interface ActionPayloads { emoji: string; x: number; y: number; - localEffect?: string; startSize: number; isReversed?: boolean; } & WithTabId; @@ -1181,7 +1180,6 @@ export interface ActionPayloads { chatId: string; emoji: string; interactions: number[]; - localEffect?: string; }; sendWatchingEmojiInteraction: { chatId: string; diff --git a/src/lib/gramjs/client/__data__/Cumshot.tgs b/src/lib/gramjs/client/__data__/Cumshot.tgs deleted file mode 100644 index 2f316b92d..000000000 Binary files a/src/lib/gramjs/client/__data__/Cumshot.tgs and /dev/null differ diff --git a/src/lib/gramjs/client/__data__/Eggplant.tgs b/src/lib/gramjs/client/__data__/Eggplant.tgs deleted file mode 100644 index b0412f5c0..000000000 Binary files a/src/lib/gramjs/client/__data__/Eggplant.tgs and /dev/null differ diff --git a/src/lib/gramjs/client/__data__/Peach.tgs b/src/lib/gramjs/client/__data__/Peach.tgs deleted file mode 100644 index 78d40f9f3..000000000 Binary files a/src/lib/gramjs/client/__data__/Peach.tgs and /dev/null differ diff --git a/src/lib/gramjs/client/__data__/TestLottie1.tgs b/src/lib/gramjs/client/__data__/TestLottie1.tgs new file mode 100644 index 000000000..fe9704d9d Binary files /dev/null and b/src/lib/gramjs/client/__data__/TestLottie1.tgs differ diff --git a/src/lib/gramjs/client/__data__/TestLottie2.tgs b/src/lib/gramjs/client/__data__/TestLottie2.tgs new file mode 100644 index 000000000..97f993192 Binary files /dev/null and b/src/lib/gramjs/client/__data__/TestLottie2.tgs differ diff --git a/src/lib/gramjs/client/__data__/TestLottie3.tgs b/src/lib/gramjs/client/__data__/TestLottie3.tgs new file mode 100644 index 000000000..41b820a74 Binary files /dev/null and b/src/lib/gramjs/client/__data__/TestLottie3.tgs differ diff --git a/src/lib/gramjs/client/__mocks__/default.json b/src/lib/gramjs/client/__mocks__/default.json index 79ecfaaaa..ee3d221dd 100644 --- a/src/lib/gramjs/client/__mocks__/default.json +++ b/src/lib/gramjs/client/__mocks__/default.json @@ -101,17 +101,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/can-delete-messages.json b/src/lib/gramjs/client/__mocks__/forums/can-delete-messages.json index d6cb8b0e1..b16c65b6b 100644 --- a/src/lib/gramjs/client/__mocks__/forums/can-delete-messages.json +++ b/src/lib/gramjs/client/__mocks__/forums/can-delete-messages.json @@ -77,17 +77,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/can-manage-topics.json b/src/lib/gramjs/client/__mocks__/forums/can-manage-topics.json index 3c7473d05..355e9213c 100644 --- a/src/lib/gramjs/client/__mocks__/forums/can-manage-topics.json +++ b/src/lib/gramjs/client/__mocks__/forums/can-manage-topics.json @@ -77,17 +77,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/default.json b/src/lib/gramjs/client/__mocks__/forums/default.json index 2b4cebe8f..2d4f09bc6 100644 --- a/src/lib/gramjs/client/__mocks__/forums/default.json +++ b/src/lib/gramjs/client/__mocks__/forums/default.json @@ -76,17 +76,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/no-topics.json b/src/lib/gramjs/client/__mocks__/forums/no-topics.json index 6760e81e8..29b4218d1 100644 --- a/src/lib/gramjs/client/__mocks__/forums/no-topics.json +++ b/src/lib/gramjs/client/__mocks__/forums/no-topics.json @@ -57,17 +57,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-messages-lots.json b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-messages-lots.json index 497269ead..9dc23f456 100644 --- a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-messages-lots.json +++ b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-messages-lots.json @@ -142,17 +142,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-not-outgoing-messages.json b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-not-outgoing-messages.json index 52b0574ea..565eb7652 100644 --- a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-not-outgoing-messages.json +++ b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic-not-outgoing-messages.json @@ -84,17 +84,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic.json b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic.json index 512dffd40..31dfcb268 100644 --- a/src/lib/gramjs/client/__mocks__/forums/owner-of-topic.json +++ b/src/lib/gramjs/client/__mocks__/forums/owner-of-topic.json @@ -79,17 +79,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/owner.json b/src/lib/gramjs/client/__mocks__/forums/owner.json index 4d1eae968..7c4e4bf7e 100644 --- a/src/lib/gramjs/client/__mocks__/forums/owner.json +++ b/src/lib/gramjs/client/__mocks__/forums/owner.json @@ -82,17 +82,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/pinned-a-lot.json b/src/lib/gramjs/client/__mocks__/forums/pinned-a-lot.json index f1692b552..46067416b 100644 --- a/src/lib/gramjs/client/__mocks__/forums/pinned-a-lot.json +++ b/src/lib/gramjs/client/__mocks__/forums/pinned-a-lot.json @@ -99,17 +99,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ] diff --git a/src/lib/gramjs/client/__mocks__/forums/topics-a-lot.json b/src/lib/gramjs/client/__mocks__/forums/topics-a-lot.json index 16c412b5d..2349101b5 100644 --- a/src/lib/gramjs/client/__mocks__/forums/topics-a-lot.json +++ b/src/lib/gramjs/client/__mocks__/forums/topics-a-lot.json @@ -182,17 +182,17 @@ }, { "id": 2, - "url": "Eggplant.tgs", + "url": "TestLottie1.tgs", "mimeType": "application/x-tgsticker" }, { "id": 3, - "url": "Peach.tgs", + "url": "TestLottie2.tgs", "mimeType": "application/x-tgsticker" }, { "id": 4, - "url": "Cumshot.tgs", + "url": "TestLottie3.tgs", "mimeType": "application/x-tgsticker" } ]