mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +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 = "";
|
||||
sock.write_some(boost::asio::buffer(response.toJson()),
|
||||
error);
|
||||
sock.write_some(boost::asio::buffer(logic->getClientMessage().toJson()));
|
||||
|
||||
while (run) {
|
||||
std::unique_lock<std::mutex> lock(mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user