[BSP](https://code.briarproject.org/briar/briar-spec/blob/master/BSP.md) clients may need to store their own metadata as well as the data they sync via BSP. Metadata may have been extracted from the data (e.g. the subject line of a message), or it may describe the state of the client (e.g. whether the user has starred a message). It may refer to a single message or the relationships between messages.
[BSP](https://code.briarproject.org/briar/briar-spec/blob/master/protocols/BSP.md) clients may need to store their own metadata as well as the data they sync via BSP. Metadata may have been extracted from the data (e.g. the subject line of a message), or it may describe the state of the client (e.g. whether the user has starred a message). It may refer to a single message or the relationships between messages.
We have to decide whether the metadata should be stored in the same database as the data, and if so, what the API for storing and querying metadata should look like.
We have to decide whether the metadata should be stored in the same database as the data, and if so, what the API for storing and querying metadata should look like.