Только новые сообщения

This commit is contained in:
Artem Vasilev 2022-11-01 16:08:09 +03:00
parent b9d8de1b6d
commit 8583a86575

View File

@ -25,7 +25,7 @@ class RemoveVoiceVideoChatMessagesCommand extends SystemCommand
public function execute(): ServerResponse
{
$message = $this->getMessage() ?: $this->getEditedMessage() ?: $this->getChannelPost() ?: $this->getEditedChannelPost();
$message = $this->getMessage();
if ($message->getVideoChatStarted()
|| $message->getVideoChatEnded()