2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Track chat business bot state.

This commit is contained in:
John Preston
2024-03-17 13:17:34 +04:00
parent caa4c5428a
commit 3d97ea6f96
8 changed files with 106 additions and 65 deletions

View File

@@ -1943,7 +1943,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
const auto &d = update.c_updatePeerSettings();
const auto peerId = peerFromMTP(d.vpeer());
if (const auto peer = session().data().peerLoaded(peerId)) {
peer->setSettings(d.vsettings());
peer->setBarSettings(d.vsettings());
}
} break;