Поправил код
This commit is contained in:
parent
ed1a2d15b1
commit
240d7a5048
@ -27,7 +27,7 @@ class RemoveJoinMessagesCommand extends SystemCommand
|
||||
{
|
||||
$message = $this->getMessage();
|
||||
|
||||
if (!!$message->getNewChatMembers() || !!$message->getLeftChatMember())
|
||||
if ($message->getNewChatMembers() || $message->getLeftChatMember())
|
||||
{
|
||||
return Request::deleteMessage([
|
||||
'chat_id' => $message->getChat()->getId(),
|
||||
|
Loading…
Reference in New Issue
Block a user