mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-06-18 13:52:34 +02:00
Removed sending status code as answer to subscription message
This commit is contained in:
parent
a3bf378458
commit
2ab091679f
|
@ -106,10 +106,6 @@ static void session(tcp::socket &&sock)
|
|||
goto out;
|
||||
}
|
||||
|
||||
response.code = Response::Code::Success;
|
||||
response .message = "";
|
||||
sock.write_some(boost::asio::buffer(response.toJson()),
|
||||
error);
|
||||
sock.write_some(boost::asio::buffer(logic->getClientMessage().toJson()));
|
||||
|
||||
while (run) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user