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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user