mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
stop and clear audio on logout, clearing bot keyboards in supergroups
This commit is contained in:
@@ -5871,7 +5871,11 @@ void HistoryWidget::countHistoryShowFrom() {
|
||||
_history->updateShowFrom();
|
||||
}
|
||||
|
||||
void HistoryWidget::updateBotKeyboard() {
|
||||
void HistoryWidget::updateBotKeyboard(History *h) {
|
||||
if (h && h != _history && h != _migrated) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool changed = false;
|
||||
bool wasVisible = _kbShown || _kbReplyTo;
|
||||
if ((_replyToId && !_replyTo) || !_history) {
|
||||
|
Reference in New Issue
Block a user