mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed ability to click on bot app button in narrowed chat list.
This commit is contained in:
@@ -1669,6 +1669,9 @@ void InnerWidget::clearIrrelevantState() {
|
||||
bool InnerWidget::lookupIsInBotAppButton(
|
||||
Row *row,
|
||||
QPoint localPosition) {
|
||||
if (_narrowRatio) {
|
||||
return false;
|
||||
}
|
||||
if (const auto user = MaybeBotWithApp(row)) {
|
||||
const auto it = _rightButtons.find(user->id);
|
||||
if (it != _rightButtons.end()) {
|
||||
|
||||
Reference in New Issue
Block a user