Browse Source

Improve createHeaderMemo comments

onryo
Duke 1 year ago
parent
commit
15ec7e3bf5
  1. 8
      src/chatmodel.cpp

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

Loading…
Cancel
Save