From 42ab884a995bc064b32dd8b2161d667aa48b7c7f Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 29 Jun 2024 11:15:14 +0200 Subject: [PATCH] Refresh peer cache on updatePeerBlocked --- src/MTProtoTools/UpdateHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MTProtoTools/UpdateHandler.php b/src/MTProtoTools/UpdateHandler.php index a4413254a..de8141202 100644 --- a/src/MTProtoTools/UpdateHandler.php +++ b/src/MTProtoTools/UpdateHandler.php @@ -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']['_'])