emit a message when a reply is sent

This commit is contained in:
arzynik 2014-11-06 15:15:03 -08:00
parent 594188f0ea
commit 126a3a1aeb

View File

@ -431,6 +431,11 @@ class Crunchbutton_Support extends Cana_Table {
$this->save();
}
Chat::emit([
'room' => 'ticket.'.$message->id_support,
'room' => 'ticket.all',
], 'ticket.message', $this->exports());
return $message;
}