diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp index e3b5f6c483..8368170c6e 100644 --- a/Telegram/SourceFiles/window/window_peer_menu.cpp +++ b/Telegram/SourceFiles/window/window_peer_menu.cpp @@ -263,10 +263,10 @@ void Filler::addBlockUser(not_null user) { void Filler::addUserActions(not_null user) { if (_source != PeerMenuSource::ChatsList) { if (user->isContact()) { - _addAction( - lang(lng_info_share_contact), - [user] { PeerMenuShareContactBox(user); }); if (!user->isSelf()) { + _addAction( + lang(lng_info_share_contact), + [user] { PeerMenuShareContactBox(user); }); _addAction( lang(lng_info_edit_contact), [user] { Ui::show(Box(user)); });