diff --git a/src/global/selectors/payments.ts b/src/global/selectors/payments.ts index eccfc72bd..30a35b9fc 100644 --- a/src/global/selectors/payments.ts +++ b/src/global/selectors/payments.ts @@ -8,6 +8,7 @@ import { } from '../helpers'; import { selectChat } from './chats'; import { selectTabState } from './tabs'; +import { selectUser } from './users'; export function selectPaymentInputInvoice( global: T, @@ -76,7 +77,8 @@ export function selectCanUseGiftProfileFilter( global: T, peerId: string, ) { const chat = selectChat(global, peerId); - return chat && isChatChannel(chat); + const user = selectUser(global, peerId); + return Boolean(user) || (chat && isChatChannel(chat)); } export function selectGiftProfileFilter(