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; - }