summaryrefslogtreecommitdiffstats
path: root/network/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'network/network.cpp')
-rw-r--r--network/network.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/network.cpp b/network/network.cpp
index 53a4898..dc5fa5f 100644
--- a/network/network.cpp
+++ b/network/network.cpp
@@ -298,6 +298,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());
+ }
}
}