Remove unnecessary code from chat example.

This commit is contained in:
Nathan Osman
2017-10-25 20:06:27 -07:00
parent c2b21cdca4
commit f56b19513b

View File

@@ -47,7 +47,4 @@ void ApiHandler::messagesNew(QHttpEngine::Socket *socket)
return;
}
}
// If execution reaches this point, malformed data was supplied
socket->writeError(QHttpEngine::Socket::BadRequest);
}