... | ... | @@ -12,11 +12,11 @@ Each forum is represented by a separate BSP group. The [group descriptor](BSP#gr |
|
|
|
|
|
### Message types
|
|
|
|
|
|
**POST** - The message body is a BDF list with four elements: `parentId` (unique ID or null), `author` (list), `content` (string), and `signature` (raw).
|
|
|
**POST** - The message body is a BDF list with four elements: `parentId` (unique ID or null), `author` (list), `text` (string), and `signature` (raw).
|
|
|
|
|
|
`parentId` is the optional ID of a post in the same forum to which this post replies. `author` is a list with three elements: `formatVersion` (int), `nickname` (string), and `publicKey` (raw). This identifies the author of the post.
|
|
|
|
|
|
The signature covers a BDF list with five elements: `groupId` (unique ID), `timestamp` (int), `parentId` (unique ID or null), `author` (list), and `content` (string). The group ID and timestamp are taken from the message header. The public key from `author` is used to verify the signature. The signature label is `org.briarproject.briar.forum/POST`.
|
|
|
The signature covers a BDF list with five elements: `groupId` (unique ID), `timestamp` (int), `parentId` (unique ID or null), `author` (list), and `text` (string). The group ID and timestamp are taken from the message header. The public key from `author` is used to verify the signature. The signature label is `org.briarproject.briar.forum/POST`.
|
|
|
|
|
|
### Validity policy
|
|
|
|
... | ... | |