mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-03 18:17:59 +01:00
Follow-up
This commit is contained in:
parent
0b228be60d
commit
a12d8afb76
@ -400,9 +400,8 @@ const Message: FC<OwnProps & StateProps & DispatchProps> = ({
|
|||||||
|
|
||||||
const handleSenderClick = useCallback(() => {
|
const handleSenderClick = useCallback(() => {
|
||||||
if (!senderPeer) {
|
if (!senderPeer) {
|
||||||
if (asForwarded) {
|
showNotification({ message: lang('HidAccount') });
|
||||||
showNotification({ message: lang('HidAccount') });
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -411,7 +410,7 @@ const Message: FC<OwnProps & StateProps & DispatchProps> = ({
|
|||||||
} else {
|
} else {
|
||||||
openChat({ id: senderPeer.id });
|
openChat({ id: senderPeer.id });
|
||||||
}
|
}
|
||||||
}, [senderPeer, asForwarded, showNotification, lang, openUserInfo, openChat]);
|
}, [senderPeer, showNotification, lang, openUserInfo, openChat]);
|
||||||
|
|
||||||
const handleViaBotClick = useCallback(() => {
|
const handleViaBotClick = useCallback(() => {
|
||||||
if (!botSender) {
|
if (!botSender) {
|
||||||
|
Loading…
Reference in New Issue
Block a user