diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index d3b41ba..eaee84c 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -380,10 +380,10 @@ QString MainWindow::createHeaderMemo(QString type, QString cid, QString zaddr, Q QJsonObject h; // We use short keynames to use less space for metadata and so allow // the user to send more actual data in memos - h["h"] = headerNumber; // integer, header number - h["v"] = version; // integer, HushChat version + h["h"] = headerNumber; // integer, header number starting from 1 + h["v"] = version; // integer, HushChat version. currently 0 h["z"] = zaddr; // string, zaddr to respond to - h["cid"] = cid; // string, conversation id + h["cid"] = cid; // string, conversation id (UUID) h["t"] = type; // string, Memo or incoming contact request h["e"] = headerbytes; // string, hex-encoded libsodium headerbytes h["p"] = publickey; // string, hex-encoded libsodium public key