mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Add "View Profile" even with third column info.
This commit is contained in:
@@ -403,9 +403,12 @@ void Filler::addInfo() {
|
||||
if (_peer->isSelf() || _peer->isRepliesChat()) {
|
||||
return;
|
||||
} else if (_controller->adaptive().isThreeColumn()) {
|
||||
if (Core::App().settings().thirdSectionInfoEnabled()
|
||||
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
||||
return;
|
||||
const auto history = _controller->activeChatCurrent().history();
|
||||
if (history && history->peer == _peer) {
|
||||
if (Core::App().settings().thirdSectionInfoEnabled()
|
||||
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const auto controller = _controller;
|
||||
|
Reference in New Issue
Block a user