mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
parent
c4ea429273
commit
0620632d6a
1 changed files with 3 additions and 1 deletions
|
@ -494,12 +494,14 @@ void SingleApplicationPrivate::slotDataAvailable( QLocalSocket *dataSocket, quin
|
|||
if ( !isFrameComplete( dataSocket ) )
|
||||
return;
|
||||
|
||||
auto message = dataSocket->readAll();
|
||||
|
||||
writeAck( dataSocket );
|
||||
|
||||
ConnectionInfo &info = connectionMap[dataSocket];
|
||||
info.stage = StageConnectedHeader;
|
||||
|
||||
Q_EMIT q->receivedMessage(instanceId, dataSocket->readAll());
|
||||
Q_EMIT q->receivedMessage(instanceId, message);
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::slotClientConnectionClosed( QLocalSocket *closedSocket, quint32 instanceId )
|
||||
|
|
Loading…
Reference in a new issue