mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-02 17:48:34 +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(() => {
|
||||
if (!senderPeer) {
|
||||
if (asForwarded) {
|
||||
showNotification({ message: lang('HidAccount') });
|
||||
}
|
||||
showNotification({ message: lang('HidAccount') });
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -411,7 +410,7 @@ const Message: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
} else {
|
||||
openChat({ id: senderPeer.id });
|
||||
}
|
||||
}, [senderPeer, asForwarded, showNotification, lang, openUserInfo, openChat]);
|
||||
}, [senderPeer, showNotification, lang, openUserInfo, openChat]);
|
||||
|
||||
const handleViaBotClick = useCallback(() => {
|
||||
if (!botSender) {
|
||||
|
Loading…
Reference in New Issue
Block a user