More details about header memo fields
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user