1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:39:01 +01:00

Refresh peer cache on updatePeerBlocked

This commit is contained in:
Daniil Gentili 2024-06-29 11:15:14 +02:00
parent 5a015a8853
commit 42ab884a99

View File

@ -1095,7 +1095,7 @@ trait UpdateHandler
return;
}
if (
\in_array($update['_'], ['updateChannel', 'updateUser', 'updateUserName', 'updateUserPhone', 'updateUserBlocked', 'updateUserPhoto', 'updateContactRegistered', 'updateContactLink'], true)
\in_array($update['_'], ['updateChannel', 'updateUser', 'updateUserName', 'updateUserPhone', 'updateUserBlocked', 'updateUserPhoto', 'updateContactRegistered', 'updateContactLink', 'updatePeerBlocked'], true)
|| (
$update['_'] === 'updateNewChannelMessage'
&& isset($update['message']['action']['_'])