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