mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 18:20:23 +00:00
Ensure that events also send the message to the socket through the proper thread/order.
This commit is contained in:
@@ -441,5 +441,5 @@ void WebSocket::EventUpdate(EventWatcher::EVENT_TYPE evtype, QJsonValue msg){
|
||||
out.in_struct.name = EventWatcher::typeToString(evtype);
|
||||
qDebug() << "Send Event:" << out.assembleMessage();
|
||||
//Now send the message back through the socket
|
||||
this->sendReply(out.assembleMessage());
|
||||
this->emit SendMessage(out.assembleMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user