mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Return 'View info' to right-click menu.
This commit is contained in:
parent
90ecec1d2e
commit
e7c40ff2a8
@ -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…
x
Reference in New Issue
Block a user