mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Return 'View info' to right-click menu.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user