mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 16:39:08 +08:00
update telegram
This commit is contained in:
parent
dab9afca53
commit
506d662ae9
@ -188,6 +188,7 @@ class TicketController extends Controller
|
|||||||
|
|
||||||
private function sendNotify(Ticket $ticket, TicketMessage $ticketMessage)
|
private function sendNotify(Ticket $ticket, TicketMessage $ticketMessage)
|
||||||
{
|
{
|
||||||
|
if (!config('v2board.telegram_bot_enable', 0)) return;
|
||||||
$users = User::where('is_admin', 1)
|
$users = User::where('is_admin', 1)
|
||||||
->where('telegram_id', '!=', NULL)
|
->where('telegram_id', '!=', NULL)
|
||||||
->get();
|
->get();
|
||||||
|
Loading…
Reference in New Issue
Block a user