Reactions: Allow in chat with Telegram (#6831)
This commit is contained in:
parent
54d5b79d26
commit
ee3faa9df8
@ -26,7 +26,7 @@ import type {
|
|||||||
} from '../../../types';
|
} from '../../../types';
|
||||||
import { MAIN_THREAD_ID } from '../../../api/types';
|
import { MAIN_THREAD_ID } from '../../../api/types';
|
||||||
|
|
||||||
import { PREVIEW_AVATAR_COUNT, SERVICE_NOTIFICATIONS_USER_ID } from '../../../config';
|
import { PREVIEW_AVATAR_COUNT } from '../../../config';
|
||||||
import {
|
import {
|
||||||
areReactionsEmpty,
|
areReactionsEmpty,
|
||||||
getCanPostInChat,
|
getCanPostInChat,
|
||||||
@ -957,8 +957,7 @@ export default memo(withGlobal<OwnProps>(
|
|||||||
isCurrentUserPremium,
|
isCurrentUserPremium,
|
||||||
hasFullInfo: Boolean(chatFullInfo),
|
hasFullInfo: Boolean(chatFullInfo),
|
||||||
canShowReactionsCount,
|
canShowReactionsCount,
|
||||||
canShowReactionList: !isLocal && !isAction
|
canShowReactionList: !isLocal && !isAction && !isScheduled && !hasTtl,
|
||||||
&& !isScheduled && chat?.id !== SERVICE_NOTIFICATIONS_USER_ID && !hasTtl,
|
|
||||||
canBuyPremium: !isCurrentUserPremium && !selectIsPremiumPurchaseBlocked(global),
|
canBuyPremium: !isCurrentUserPremium && !selectIsPremiumPurchaseBlocked(global),
|
||||||
customEmojiSetsInfo,
|
customEmojiSetsInfo,
|
||||||
customEmojiSets,
|
customEmojiSets,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user