mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
Write first tokenupdate on session initialization
This commit is contained in:
parent
b8cb8f9876
commit
69dcbe6b59
@ -110,6 +110,7 @@ static void session(tcp::socket &&sock)
|
|||||||
response .message = "";
|
response .message = "";
|
||||||
sock.write_some(boost::asio::buffer(response.toJson()),
|
sock.write_some(boost::asio::buffer(response.toJson()),
|
||||||
error);
|
error);
|
||||||
|
sock.write_some(boost::asio::buffer(logic->getClientMessage().toJson()));
|
||||||
|
|
||||||
while (run) {
|
while (run) {
|
||||||
std::unique_lock<std::mutex> lock(mutex);
|
std::unique_lock<std::mutex> lock(mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user