From 22f4470ddb4d3e62accce3afb9756667ecd2da37 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Tue, 16 Oct 2018 11:54:12 +0000 Subject: [PATCH] Update Introduction Client --- Introduction-Client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Introduction-Client.md b/Introduction-Client.md index 90e9628..9e2727c 100644 --- a/Introduction-Client.md +++ b/Introduction-Client.md @@ -24,13 +24,13 @@ The session ID is the hash of a BDF list containing the unique ID of the introdu The protocol uses six message types. -**0: REQUEST** - Sent by the introducer to each introducee. The message body is a BDF list with four elements: `messageType` (int), `previousMessageId` (unique ID or null), `contact` (list), and `message` (string or null). +**0: REQUEST** - Sent by the introducer to each introducee. The message body is a BDF list with four elements: `messageType` (int), `previousMessageId` (unique ID or null), `contact` (list), and `text` (string or null). `previousMessageId` is the unique ID of the previous message sent by the sender in this session, if any, which is a dependency. `contact` is the identity of the other introducee, which is a list with three elements: `formatVersion` (int), `nickname` (string), and `publicKey` (raw). -`message` is an optional message from the introducer to the introducee explaining the introduction. +`text` is an optional message from the introducer to the introducee explaining the introduction. **1: ACCEPT** - Sent by an introducee to the introducer if the sender accepts the introduction. Forwarded by the introducer to the other introducee. The message body is a BDF list with six elements: `messageType` (int), `sessionId` (unique ID), `previousMessageId` (unique ID), `ephemeralPublicKey` (raw), `timestamp` (int), and `transportProperties` (dictionary).