mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add "View Profile" even with third column info.
This commit is contained in:
parent
7c2d3a8855
commit
9105677325
1 changed files with 6 additions and 3 deletions
|
@ -403,9 +403,12 @@ void Filler::addInfo() {
|
||||||
if (_peer->isSelf() || _peer->isRepliesChat()) {
|
if (_peer->isSelf() || _peer->isRepliesChat()) {
|
||||||
return;
|
return;
|
||||||
} else if (_controller->adaptive().isThreeColumn()) {
|
} else if (_controller->adaptive().isThreeColumn()) {
|
||||||
if (Core::App().settings().thirdSectionInfoEnabled()
|
const auto history = _controller->activeChatCurrent().history();
|
||||||
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
if (history && history->peer == _peer) {
|
||||||
return;
|
if (Core::App().settings().thirdSectionInfoEnabled()
|
||||||
|
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const auto controller = _controller;
|
const auto controller = _controller;
|
||||||
|
|
Loading…
Add table
Reference in a new issue