mirror of
https://github.com/vale981/tdesktop
synced 2025-03-04 17:21:40 -05:00
Return 'View info' to right-click menu.
This commit is contained in:
parent
90ecec1d2e
commit
e7c40ff2a8
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue