summaryrefslogtreecommitdiffstats
path: root/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'message.cpp')
-rw-r--r--message.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/message.cpp b/message.cpp
index 014e8e7..95bc586 100644
--- a/message.cpp
+++ b/message.cpp
@@ -103,7 +103,12 @@ bool Message::fromJDoc(QJsonDocument jdoc)
return false;
}
auto status_iter = request.find("status");
+ auto info_iter = request.find("info");
+ auto response_iter = payload.find("response");
+ auto response = response_iter.value().toObject();
m_reply_status = status_iter.value().toString();
+ m_reply_info = info_iter.value().toString();
+ m_reply_data = response;
m_reply = true;
} else if (msgid == Event) {
// If event, save data object