mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:18:58 +01:00
Refresh peer cache on updatePeerBlocked
This commit is contained in:
parent
5a015a8853
commit
42ab884a99
@ -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']['_'])
|
||||
|
Loading…
Reference in New Issue
Block a user