mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +01:00
Update Forum Sharing Client
@@ -20,9 +20,9 @@ The messages exchanged between two contacts referring to a given forum constitut
|
|||||||
|
|
||||||
The protocol uses five message types.
|
The protocol uses five message types.
|
||||||
|
|
||||||
**0: INVITE** - Sent by either party to start or restart a session. The message body is a BDF list with four elements: `messageType` (int), `previousMessageId` (unique ID or null), `descriptor` (list), and `message` (string or null).
|
**0: INVITE** - Sent by either party to start or restart a session. The message body is a BDF list with four elements: `messageType` (int), `previousMessageId` (unique ID or null), `descriptor` (list), and `text` (string or null).
|
||||||
|
|
||||||
`previousMessageId` is the ID of the previous message in this session, if any. `descriptor` is the [descriptor of the forum](Forum-Client#group-identifiers) being shared. `message` is an optional message from the inviter to the invitee. The forum ID must be calculated from the descriptor, as it is used by subsequent messages in the session.
|
`previousMessageId` is the ID of the previous message in this session, if any. `descriptor` is the [descriptor of the forum](Forum-Client#group-identifiers) being shared. `text` is an optional message from the inviter to the invitee. The forum ID must be calculated from the descriptor, as it is used by subsequent messages in the session.
|
||||||
|
|
||||||
The sender sets the forum's visibility to VISIBLE when sending an invite message.
|
The sender sets the forum's visibility to VISIBLE when sending an invite message.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user