13 lines
298 B
PHP
13 lines
298 B
PHP
<?php
|
|
class Controller_test_chat extends Crunchbutton_Controller_Account {
|
|
public function init() {
|
|
|
|
$message = Support_Message::o(2913);
|
|
$res = Chat::emit([
|
|
'room' => 'ticket.'.$message->id_support,
|
|
'room' => 'ticket.all',
|
|
], 'ticket.message', $message->exports());
|
|
|
|
echo $res;
|
|
}
|
|
} |