Skip to content

Commit b2f94b4

Browse files
committed
Changed not remove empty messages
1 parent feb60bf commit b2f94b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/Http/Controllers/WebHookController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ public function telegram(Request $request, TelegramBot $telegramBot): void
2828
return;
2929
}
3030

31-
if (empty($text)) {
32-
$telegramBot->deleteMessage($chatId, $messageId);
33-
34-
return;
35-
}
36-
3731
if (! $telegramBot->isSpam($text)) {
3832
return;
3933
}

0 commit comments

Comments
 (0)