From 15ec7e3bf59670af657016f684d48b90cbce1f9e Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 8 Dec 2022 21:17:20 -0500 Subject: [PATCH] Improve createHeaderMemo comments --- src/chatmodel.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index 74d6493..d30ebb1 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -384,15 +384,13 @@ QString MainWindow::createHeaderMemo(QString type, QString cid, QString zaddr, Q h["v"] = version; // HushChat version h["z"] = zaddr; // zaddr to respond to h["cid"] = cid; // conversation id - h["t"] = type; // Memo or incoming contact request - h["e"] = headerbytes; // Memo or incoming contact request - h["p"] = publickey; // Memo or incoming contact request - + h["t"] = type; // Memo or incoming contact request + h["e"] = headerbytes; // libsodium headerbytes + h["p"] = publickey; // libsodium public key j.setObject(h); header = j.toJson(); return header; - }