Skip to content

Commit

Permalink
Merge pull request #488 from PetrZidek/ignore-not-response-messages-d…
Browse files Browse the repository at this point in the history
…uring-login

Ignore not response messages during login
  • Loading branch information
fvacek authored Aug 30, 2024
2 parents 0fbd9d5 + 3cdbf08 commit 8a1b3cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libshviotqt/src/rpc/clientconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ void ClientConnection::onRpcMessageReceived(const chainpack::RpcMessage &rpc_msg
}
}
if(isLoginPhase()) {
processLoginPhase(rpc_msg);
if (rpc_msg.isResponse()) {
processLoginPhase(rpc_msg);
}
return;
}
if(rpc_msg.isResponse()) {
Expand Down

0 comments on commit 8a1b3cf

Please sign in to comment.