Remove unnecessary code from chat example.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user