2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme to layer161.

This commit is contained in:
John Preston
2023-07-31 18:57:51 +02:00
parent 8a24f33c06
commit 5575d50277
4 changed files with 27 additions and 13 deletions

View File

@@ -1987,7 +1987,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updatePeerBlocked: {
const auto &d = update.c_updatePeerBlocked();
if (const auto peer = session().data().peerLoaded(peerFromMTP(d.vpeer_id()))) {
peer->setIsBlocked(mtpIsTrue(d.vblocked()));
peer->setIsBlocked(d.is_blocked());
}
} break;