mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-21 21:01:29 +01:00
Chat: Display "choosing a sticker..." action (#1538)
This commit is contained in:
parent
e1fad28413
commit
4921f12a5f
@ -326,6 +326,8 @@ export function buildChatTypingStatus(
|
||||
action = 'lng_send_action_record_round';
|
||||
} else if (update.action instanceof GramJs.SendMessageUploadRoundAction) {
|
||||
action = 'lng_send_action_upload_round';
|
||||
} else if (update.action instanceof GramJs.SendMessageChooseStickerAction) {
|
||||
action = 'lng_send_action_choose_sticker';
|
||||
} else if (update.action instanceof GramJs.SpeakingInGroupCallAction) {
|
||||
return undefined;
|
||||
}
|
||||
|
@ -240,9 +240,9 @@ const StickerPicker: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
return (
|
||||
<div className={fullClassName}>
|
||||
{!canSendStickers ? (
|
||||
<div className="picker-disabled">Sending stickers is not allowed in this chat.</div>
|
||||
<div className="picker-disabled">{lang('ErrorSendRestrictedStickersAll')}</div>
|
||||
) : noPopulatedSets ? (
|
||||
<div className="picker-disabled">You have no saved Stickers.</div>
|
||||
<div className="picker-disabled">{lang('NoStickers')}</div>
|
||||
) : (
|
||||
<Loading />
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user