mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Disable quick replies in bot chats.
This commit is contained in:
parent
d14f11bd88
commit
6d352597b4
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
|
|||
}
|
||||
}
|
||||
}
|
||||
const auto shortcuts = _user
|
||||
const auto shortcuts = (_user && !_user->isBot())
|
||||
? _user->owner().shortcutMessages().shortcuts().list
|
||||
: base::flat_map<BusinessShortcutId, Data::Shortcut>();
|
||||
if (!hasUsername && !shortcuts.empty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue