@@ -12,7 +12,7 @@ use Battles\Template;
require_once "config.php";
$chat = new Chat(Db::getInstance());
if (!empty($_POST['msg'])) {
$chat->addMessage($_POST['msg']);
$chat->sendMessage($_POST['msg']);
}
Template::header('chat');
The note is not visible to the blocked user.