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
+1 -1
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;