Let clients decide whether to share messages or not

This commit is contained in:
Torsten Grote
2016-08-11 12:19:10 -03:00
parent 9defb099dd
commit 71196e3494
7 changed files with 17 additions and 11 deletions

View File

@@ -69,6 +69,12 @@ public interface ClientHelper {
void mergeMessageMetadata(Transaction txn, MessageId m,
BdfDictionary metadata) throws DbException, FormatException;
/**
* Marks the given message as shared or unshared with other contacts.
*/
void setMessageShared(Transaction txn, Message m, boolean shared)
throws DbException;
byte[] toByteArray(BdfDictionary dictionary) throws FormatException;
byte[] toByteArray(BdfList list) throws FormatException;