Return 'View info' to right-click menu.

This commit is contained in:
John Preston 2019-06-17 14:28:16 +02:00
parent 90ecec1d2e
commit e7c40ff2a8

View file

@ -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;