update telegram

This commit is contained in:
Tokumeikoi 2020-05-25 15:50:10 +08:00
parent dab9afca53
commit 506d662ae9

View File

@ -188,6 +188,7 @@ class TicketController extends Controller
private function sendNotify(Ticket $ticket, TicketMessage $ticketMessage)
{
if (!config('v2board.telegram_bot_enable', 0)) return;
$users = User::where('is_admin', 1)
->where('telegram_id', '!=', NULL)
->get();