diff options
Diffstat (limited to 'network/network.cpp')
-rw-r--r-- | network/network.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/network/network.cpp b/network/network.cpp index db4b2b4..ebfa7a9 100644 --- a/network/network.cpp +++ b/network/network.cpp @@ -286,6 +286,10 @@ void Network::processReply(ResponseMessage *rmsg) addServices(rmsg->replyData().value("values").toArray()); } else if (rmsg->requestVerb() == "technologies") { parseTechnologies(rmsg->replyData().value("values").toArray()); + } else if (rmsg->requestVerb() == "connect_service") { + if (rmsg->replyStatus() == "failed" && rmsg->replyInfo().contains("invalid-key")) { + emit invalidPassphrase(rmsg->requestData()["parameter"].toMap()["service"].toString()); + } } } |