Поправил код

This commit is contained in:
Artem Vasilev 2022-11-01 16:15:49 +03:00
parent ed1a2d15b1
commit 240d7a5048

View File

@ -27,7 +27,7 @@ class RemoveJoinMessagesCommand extends SystemCommand
{ {
$message = $this->getMessage(); $message = $this->getMessage();
if (!!$message->getNewChatMembers() || !!$message->getLeftChatMember()) if ($message->getNewChatMembers() || $message->getLeftChatMember())
{ {
return Request::deleteMessage([ return Request::deleteMessage([
'chat_id' => $message->getChat()->getId(), 'chat_id' => $message->getChat()->getId(),