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

@@ -239,6 +239,12 @@ class ClientHelperImpl implements ClientHelper {
db.mergeMessageMetadata(txn, m, metadataEncoder.encode(metadata));
}
@Override
public void setMessageShared(Transaction txn, Message m, boolean shared)
throws DbException {
db.setMessageShared(txn, m, shared);
}
@Override
public byte[] toByteArray(BdfDictionary dictionary) throws FormatException {
ByteArrayOutputStream out = new ByteArrayOutputStream();