From e7c40ff2a8b9eebf3f686fd6975dea92ac1fc3d3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 17 Jun 2019 14:28:16 +0200 Subject: [PATCH] Return 'View info' to right-click menu. --- Telegram/SourceFiles/window/window_peer_menu.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp index 1e467286b..d5f781a88 100644 --- a/Telegram/SourceFiles/window/window_peer_menu.cpp +++ b/Telegram/SourceFiles/window/window_peer_menu.cpp @@ -185,9 +185,7 @@ Filler::Filler( } bool Filler::showInfo() { - if (_source == PeerMenuSource::Profile - || _source == PeerMenuSource::ChatsList - || _peer->isSelf()) { + if (_source == PeerMenuSource::Profile || _peer->isSelf()) { return false; } else if (_controller->activeChatCurrent().peer() != _peer) { return true;